Skip to content

Clicking at the very top edge of the button doesn't trigger the button's action #9064

Description

@dreamlax

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

9.4.1

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

Other, I will specify in the bug description

Describe the bug

Tested on Firefox and Safari on macOS and also Firefox on Windows.

Clicking on the very topmost pixel of a button shows the pointer cursor indicating that the button is interactive, but when clicking the button, nothing happens.

The issue is reproducible on mantine.dev

button-bug.mp4

If possible, include a link to a codesandbox with a minimal reproduction

https://mantine.dev/core/popover/

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions