Giter Site home page Giter Site logo

Comments (3)

David-Moreira avatar David-Moreira commented on May 24, 2024

This happens on both bootstrap and bootstrap5. And also on the regular checkbox.

This does happen in the bootstrap5 framework itself
https://getbootstrap.com/docs/5.0/forms/checks-radios/#checks

While we could easily fix it by making the hidden checkbox input go a little wider to catch that blank space, I have to think, that maybe this is working as intended?
Or that it should be fixed by the css framework itself?
@stsrki thoughts?


@InzeNL
As a workaround you can apply the fix yourself on your end try:

.custom-checkbox .custom-control-input{
width: 1.5rem
}

That should make the hidden input grow wide enough for the click detection to go through
image

from blazorise.

stsrki avatar stsrki commented on May 24, 2024

I would rather that is behaves as per bootstrap documentation. It might be better to report it on their side and see if it is really a bug.

from blazorise.

David-Moreira avatar David-Moreira commented on May 24, 2024

@InzeNL As we generally try not to make too many changes to the css framework unless we deem necessary due to specific use cases with blazor + blazorise components, would you be so kind to report this issue on bootstrap?
I'm going ahead and closing the issue. But feel free to reopen if you feel there's anything else in Blazorise side we can help you with regarding this matter.

from blazorise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.