-
Notifications
You must be signed in to change notification settings - Fork 174
Description
[Bug] Side content tab underline breaks on browser window resize
UI-related bug.
Bug description
The SideContent
component was updated in PR #740 to make use of BlueprintJS 3's Tabs
component. This includes an addition of an animated blue underline that moves between tabs when tabs are switched.
When the side-content width is modified by dragging the central divider, the position of the underline decouples from that of the selected tab. However, upon releasing the <Resizable>
divider, the underline recomputes its position and snaps back under the currently selected tab.
Additionally, all of
- resizing the browser window,
- minimising it from a maximised state, and
- opening the browser's developer console (F12)
also triggers this decoupling, afterwhich the underline fails to recompute its position, remaining frozen in an incorrect position until the side-content width is modified again or a tab is selected.
This bug seems to occur in all available workspaces (assessment, grading, playground, mission editor).
Reproduction steps
- Open the mock front-end (as of commit Expose ExternalLibrary outside Playground, record ExternaLibrary change #796) in either Chrome or Firefox.
- Proceed to the Playground.
- Attempt to resize the central divider - this should demonstrate the decoupling of the animated underline.
- Undock the browser window from a maximised state, then attempt to resize it by dragging its borders - this should demonstrate the frozen underline. Alternatively, press F12 to bring up the Developer console.
Development environment
Browser: Google Chrome Version 75.0.3770.142 (Official Build) (64-bit)
Browser: Firefox Quantum 68.0.1 (64-bit)
Last updated 3 Aug 2019, 00:15AM