themesberg / flowbite-react

Official React components built for Flowbite and Tailwind CSS
https://flowbite-react.com
MIT License
1.77k stars 395 forks source link

dropdown popup is hidden by section title in docs #1419

Open shereen-fathy opened 2 weeks ago

shereen-fathy commented 2 weeks ago

Steps to reproduce

  1. Go to https://flowbite-react.com/docs/components/dropdown#dropdown-items-with-icon
  2. Scroll up and make the button is close to the end of the page
  3. Click on the dropdown button

Current behavior

image

Describe what is currently happening and why it's a problem.

Expected behavior

Dropdwon menu shouldn't be hidden by the title

Context

What are you trying to accomplish? Does this only happen on a specific browser, screen size, or operating system?

If possible, provide a live example URL, screenshot, video, or a repository with the minimal reproduction of the issue.

SutuSebastian commented 1 week ago

nice catch!

we could either solve this by isolating the code demo example in an iframe (which is already implemented mechanism) and give it fixed height, or try to figure out further why it is behind.