themesberg / themesberg/flowbite
Extra Large modal no show scroll on top when open second time
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Extra Large modal no show scroll on top when open second time.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://flowbite.com/docs/components/modal/#sizes'
- Click on 'Toggle mobile view'
- Click on 'Extra large modal'
- Scroll down to the end of modal.
- Click on any buttom (i accept or decline)
- Click on 'Extra large modal' once again.
- See the scroll of modal keep down.
- The ideal way is that start in the top, but no start in the end.
Any suggestion? for control the scroll when reopen the modal.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Extra large modal example at https://flowbite.com/docs/components/modal/#sizes and reproduce the behavior using the listed steps, including reopening it after scrolling and choosing a button. Trace the modal's open and close behavior; done means reopening starts the modal scroll position at the top.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tailwindcss
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100