-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
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
Modal window fixed height #1308
Comments
The answer is yes, you should, but you cannot currently. It appears the Modal does not spread the user's style prop on the Modal. Technically, you should be able to do this to pin the modal's top position: <Modal style={{ marginTop: '1rem' }} /> The <ElementType {...rest} className={classes} style={{ marginTop }} ref={c => (this._modalNode = c)}> Style here should be: |
Hi, @levithomason can I work on it? |
Incorporating review comments. Fixes Semantic-Org#1308
Hello
Is there any simple way to open modal at fixed screen height (minus margins) ?
By default a modal window tries to center itself vertically which causes problematic UX when modal content changes
The text was updated successfully, but these errors were encountered: