Unexpected modal position change
See original GitHub issueAffected browser: Chrome, Edge
Reproduce steps:
- Make a simple modal
- Set long contents in modal to have scrolling, put radios at bottom
...
<ModalBody>
<Box>
<Box h={800}/>
<RadioGroup variantColor="green" defaultValue="1">
<Stack direction="row" spacing="3x">
<Radio value="1">Radio 1</Radio>
<Radio value="2">Radio 2</Radio>
</Stack>
</RadioGroup>
</Box>
</ModalBody>
...
- Open the modal, scroll to bottom
<kbd>
</kbd>
- Click to change radio select
- The modal have unexpected position change
<kbd>
</kbd>
Expected results: The modal should keep the same position
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
css - jQueryUI modal dialog - dragging causes unexpected ...
What happens is that when the page is at it's top, dialog opens normally and everything works as intended. Dragging dialog causes no...
Read more >Modal changes screen position to top · Issue #1016 - GitHub
The issue is caused when the modal is focused while it's still positioned off-screen. Details The modal uses these css classes for the...
Read more >How to handle unexpected modal box for every action in test ...
Purpose: Fail the test case when there is system error modal box. System Error Modal box appears unexpectedly at any point of time....
Read more >Modal · Bootstrap v4.6
Use Bootstrap's JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.
Read more >Modifying a modal dialog's style and position at run time
This article describes how to modify a modal dialog's styles and position at run-time so it can work both as a child of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thx, hope the style ‘overflow:hidden’ could be the clue to fix this issue.
Related to https://github.com/trendmicro-frontend/tonic-ui/issues/344