Web: Common: Layout: fixed the ability to scroll the page when the dropdown is open
This commit is contained in:
parent
0622f3003f
commit
3c815511ac
@ -44,6 +44,12 @@ class MobileLayout extends Component {
|
||||
const currentScrollPosition =
|
||||
this.customScrollElm.scrollTop > 0 ? this.customScrollElm.scrollTop : 0;
|
||||
|
||||
if (document.getElementsByClassName("backdrop-active").length > 0) {
|
||||
const elements = document.getElementsByClassName("backdrop-active");
|
||||
elements[0].click();
|
||||
return;
|
||||
}
|
||||
|
||||
if (visibleContent && isMobile && !isTouchDevice) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user