Skip to content
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

Radio Button Hitbox #763

Closed
dillasyx opened this issue Jan 4, 2022 · 2 comments
Closed

Radio Button Hitbox #763

dillasyx opened this issue Jan 4, 2022 · 2 comments
Assignees

Comments

@dillasyx
Copy link

dillasyx commented Jan 4, 2022

So I used the radio button in Vue 3 with Bootstrap.
When I use the class col on the element, the radio button gets stretched a lot.

As you can see, there is a big purple flex space on the right.
image
The problem is, if you hover over the purple part, it triggers the :hover css, but you can't click there to select the radio button.
You have to hit exactly the circle or the text in order to select it, even if the :hover property is triggered.
And also the cursor becomes a pointer due to the radio-button class, even when not the whole thing is clickable.

And that's how we placed the Buttons:

<div class="row m-1">
  <div class="col">
    <scale-radio-button label="BtnA" :checked="!BtnA" :value="false" @scale-change="func()"></scale-radio-button>
  </div>
  <div class="col">
    <scale-radio-button label="BtnB" :checked="BtnA" :value="true" @scale-change="func()"></scale-radio-button>
  </div>
</div>
@nowseemee
Copy link
Collaborator

Hi @dillasyx, thanks for opening this issue. We will investigate and come back to you.

@marvinLaubenstein marvinLaubenstein self-assigned this Jan 5, 2022
@nowseemee
Copy link
Collaborator

Hi @dillasyx, this should be fixed in the latest release: 3.0.0-beta.40. Thanks again for opening this issue.

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

3 participants