Commit 93d3364
committed
fix(webapp): keep side menu secondary buttons hidden during a fast drag
The previous fix faded the account, dev connection and collapse buttons with a
class based opacity transition. During a quick drag that 200ms transition
lagged behind the shrinking row, so the buttons stayed briefly visible and
overlapped the org and Help items (the reported dark overlay).
Drive the account and dev connection opacity from the imperative
--sm-label-opacity variable instead so it tracks the drag frame by frame with no
lag, and hide the collapse button instantly (it cannot use the variable because
it stays visible as the expand button when the menu is collapsed).1 parent fbc3d88 commit 93d3364
1 file changed
Lines changed: 13 additions & 12 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1727 | 1727 | | |
1728 | 1728 | | |
1729 | 1729 | | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1733 | 1734 | | |
1734 | 1735 | | |
1735 | 1736 | | |
| |||
1738 | 1739 | | |
1739 | 1740 | | |
1740 | 1741 | | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1744 | 1745 | | |
1745 | 1746 | | |
| 1747 | + | |
1746 | 1748 | | |
1747 | 1749 | | |
1748 | 1750 | | |
| |||
1821 | 1823 | | |
1822 | 1824 | | |
1823 | 1825 | | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
1830 | 1831 | | |
1831 | 1832 | | |
1832 | 1833 | | |
| |||
0 commit comments