mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] fix glitchy modal popover ( popovers get reinitialised after drag events. This still happens on mobile ops-list )
This commit is contained in:
parent
4a761673c0
commit
6a1501e7ae
3 changed files with 6 additions and 4 deletions
|
@ -882,12 +882,12 @@ class App {
|
|||
/**
|
||||
* Aggregate all the desktop UI functions.
|
||||
*
|
||||
* Popovers and desktop layout are set on init, but we also need to
|
||||
* update the UI correctly on window resizing events
|
||||
* Fires on window resize event ( on min-width breakpoint )
|
||||
*/
|
||||
setDesktopUI(minimise){
|
||||
this.setDesktopLayout(minimise);
|
||||
this.manager.ops.enableOpsListPopovers();
|
||||
// enable drag and drop
|
||||
}
|
||||
|
||||
|
||||
|
@ -900,6 +900,7 @@ class App {
|
|||
setMobileUI(){
|
||||
this.setMobileLayout();
|
||||
this.manager.ops.disableOpsListPopovers();
|
||||
// disable drag and drop / long press and drag and drop for favourites
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue