Adjust z-index of dash error menu #1553
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.
Hello,
This very small PR adjusts the z-index of the dash error menu container. The motivation is that the current value (1001) is lower than some common Bootstrap components resulting in the error menu being obscured in some cases. The largest z-index in Bootstrap CSS is 1070 (used for tooltips), I rounded this up somewhat arbitrarily to 1100, but could reduce to 1071 I guess.
Here is a simple example app demonstrating the issue observed with a sticky navbar
This was originally raised by a community member in facultyai/dash-bootstrap-components#515. I have verified that my change resolves the issue.
Happy to discuss or make any additional changes you would like.
Contributor Checklist