Dropdown component.jsx update

On mobile if you clicked on a user or your own user to set their status, the tethered modal would keep it's z-index, which would prevent the user from interacting with anything because the tethered modal would overlap the whole site.
This commit is contained in:
Zh4rsiest 2020-10-22 19:14:50 +02:00 committed by GitHub
parent 6f60324a4e
commit 096556a74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ class Dropdown extends Component {
if (parentElement) parentElement.focus();
}
if (keepOpen !== null) return;
if (keepOpen !== false) return;
this.handleHide();
}