Skip to content

Wrong background/style on NavUl when resizing the window #1537

@Finomosec

Description

@Finomosec

Describe the bug

The background of the <NavUl> changes incorrectly when resizing the window.

See reproduction.

Reproduction

Go to:
https://flowbite-svelte.com/docs/components/navbar

Look at some NavBar examples.
For example the first:

Image

Resize the window width until the burger menu shows up and click/open it:

Image

Now resize the window back to wide until the burger menu disappears:

Image

Compare this to the first picture.

Flowbite version and System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 1700X Eight-Core Processor         
    Memory: 37.94 GB / 63.93 GB
  Browsers:
    Chrome: 133.0.6943.127
    Edge: Spartan (44.18362.1533.0)
    Internet Explorer: 11.0.19041.4355

I don't know which versions exactly were used for the demo:
https://flowbite-svelte.com/docs/components/navbar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions