Instead of z-index war I decided to limit width of context menu in Select.
Problems:
ContextMenu reused in 4 components: Select, DropdownButton, DataTableHeader, Toparselect. As soon as we change it in one place it breaks in different
z-index war. As soon as we start to assign z-index we will find a scenario where it doesn't work and we need to assign even higher z-index to something else. Instead it is better to rely on browsers natural flow.
Related issue
1305
To be tested
Me
[ ] No error or warning in the console on localhost:6060
Summary
Instead of z-index war I decided to limit width of context menu in Select.
Problems:
ContextMenu
reused in 4 components:Select
,DropdownButton
,DataTableHeader
,Toparselect
. As soon as we change it in one place it breaks in differentRelated issue
1305
To be tested
Me
localhost:6060
Tester 1
Tester 2