fix: in-route sidebar being fullscreen
This commit is contained in:
@ -99,7 +99,7 @@
|
|||||||
});
|
});
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
const fullHeight = window.innerHeight - 20 - 40 - 10;
|
const fullHeight = window.innerHeight - 20 - 40 - 10;
|
||||||
if (fullscreen[view.current.type]) {
|
if (fullscreen[view.current.type] && !routing.currentTrip) {
|
||||||
if (sidebarHeight.target != fullHeight) {
|
if (sidebarHeight.target != fullHeight) {
|
||||||
if (window.innerWidth < 768) {
|
if (window.innerWidth < 768) {
|
||||||
hideSearch = true;
|
hideSearch = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user