[web] Increase the z-index of the sidebar #569
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The component used for displaying the page options has a higher
z-index
than the Sidebar. This combined with the fact that the component it isn't closed automatically when the user clicks outside can lead to a situation of having the sidebar open but the page menu options on top.Solution
Use a higher value for the Sidebar
z-index
. More specifically, the1000
value because PatternFly uses values from 100 to 600 at the time of writing. SeeAnother option could be to use the PatternFly highest value, but IMHO it does not seem necessary to couple the Sidebar
z-index
to a PatternFly variable. At least for now.Testing
Screenshots