Skip to content

Commit 412e503

Browse files
author
farfromrefug
committed
fix: trying to ensure the backdrop always gets hidden and wont interfere with touches
1 parent bb4afcd commit 412e503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui-drawer/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ export class Drawer extends GridLayout {
880880
// apply tr data to prevent hickups on iOS
881881
// and handle animation cancelled errors
882882
if ((position !== 0 && this.mShowingSide === side) || (position === 0 && !this.mShowingSide)) {
883-
this.applyTrData(trData, side);
883+
this.applyTrData(trData, this.mShowingSide);
884884
if (position !== 0) {
885885
// if (trData.backDrop) {
886886
// this.backDrop.opacity = 1;
@@ -890,7 +890,7 @@ export class Drawer extends GridLayout {
890890
if (drawer) {
891891
drawer.visibility = 'hidden';
892892
}
893-
if (this.backDrop && trData.backDrop) {
893+
if (this.backDrop) {
894894
this.backDrop.visibility = 'hidden';
895895
}
896896
}

0 commit comments

Comments
 (0)