Skip to content

Dropdown is broken on Safari #1067

@ollyde

Description

@ollyde

Describe the bug

When using a bind with open the drop-down doesn't work on Safari (mobile and desktop)

Reproduction

Works on everything

<Button>Some button</Button> <Dropdown> <span class="p-16">Drop down test</span> </Dropdown> 

Does not work on Safari mobile or desktop

<script> let isOpen = false; </script> <Button on:click={() => !isOpen} >Some button</Button> <Dropdown bind:open={isOpen}> <span class="p-16">Drop down test</span> </Dropdown> 

Flowbite version and System Info

System: OS: macOS 13.5.2 CPU: (10) arm64 Apple M1 Max Memory: 12.50 GB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.3.0 - /opt/homebrew/bin/node npm: 9.6.7 - /opt/homebrew/bin/npm pnpm: 8.6.3 - ~/Library/pnpm/pnpm Browsers: Chrome: 116.0.5845.187 Safari: 16.6 npmPackages: vite: ^4.1.4 => 4.1.4

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