We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider:
class Foo extends Component { render() { var modalStyles = {overlay: {}}; modalStyles.overlay["z-index"] = 10; return( <Modal style={ modalStyles }> Hello World! </Modal> ) } }
This will produce a modal with a z-index of "10px", which is not a valid z-index value.
The text was updated successfully, but these errors were encountered:
As a workaround set modalStyles.overlay["z-index"] = '10;';
modalStyles.overlay["z-index"] = '10;';
Sorry, something went wrong.
It should follow react conventions:
class Foo extends Component { render() { var modalStyles = {overlay: {zIndex: 10}}; return( <Modal style={ modalStyles }> Hello World! </Modal> ) } }
@marbemac Thanks for the tip!
@marbemac I should have realized that. Thanks for the example.
No branches or pull requests
Consider:
This will produce a modal with a z-index of "10px", which is not a valid z-index value.
The text was updated successfully, but these errors were encountered: