flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

dropdown popup is hidden by section title in docs

Open shereen-fathy opened this issue 1 year ago • 5 comments

  • [x] I have searched the Issues to see if this bug has already been reported
  • [x] I have tested the latest version

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.

shereen-fathy avatar Jun 12 '24 18:06 shereen-fathy

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.

SutuSebastian avatar Jun 22 '24 08:06 SutuSebastian

@SutuSebastian, can't we just increase the z-index?

sahil-bhanvadiya avatar Sep 25 '24 11:09 sahil-bhanvadiya

@SutuSebastian, can't we just increase the z-index?

Or we can use a nice little tailwindcss class called isolate which it does exactly what it says, it isolates references

SutuSebastian avatar Sep 25 '24 11:09 SutuSebastian

@SutuSebastian, can't we just increase the z-index?

Or we can use a nice little tailwindcss class called isolate which it does exactly what it says, it isolates references

Can I take this issue?

sahil-bhanvadiya avatar Sep 25 '24 12:09 sahil-bhanvadiya

@SutuSebastian, can't we just increase the z-index?

Or we can use a nice little tailwindcss class called isolate which it does exactly what it says, it isolates references

Screenshot 2024-09-25 at 7 20 58 PM isolate only works with static position, and H2 components use relative position.

sahil-bhanvadiya avatar Sep 25 '24 13:09 sahil-bhanvadiya

So I just recently tried to reproduce the issue as @shereen-fathy described but failed to do so. I think via a patch update this was fixed.

If confirmed let's close this plz Thanks! 🙏

kenshanta avatar May 22 '25 22:05 kenshanta

Not an issue anymore, closing this.

Image

SutuSebastian avatar May 23 '25 08:05 SutuSebastian