8000 How to reduce checkbox clicking area to the checkbox itself? · Issue #7384 · palantir/blueprint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to reduce checkbox clicking area to the checkbox itself? #7384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jandrew44 opened this issue Mar 20, 2025 · 0 comments
Open

How to reduce checkbox clicking area to the checkbox itself? #7384

jandrew44 opened this issue Mar 20, 2025 · 0 comments
Assignees

Comments

@jandrew44
Copy link
jandrew44 commented Mar 20, 2025

Environment

  • Package version(s):
    @blueprintjs/core: 5.16.4
  • Browser and OS versions:
    Google Chrome 134.0.6998.90
    Windows 10 Home Edition

Question

I am using a standalone checkbox without of label and I want it to be checked when it is being clicked.
Currently it does not work as expected because if I click slightly right from the checkbox it becomes checked also.
I have tried to provide tagName property since it was mentioned in Blueprint documentation as a way to "reduce the clicking area" but when I tried values "div" or "span" it disables the clicking area completely.

So what is the correct way to reduce checkbox clicking area to the checkbox itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0