Wikiki / bulma-checkradio

Bulma's extension to display better checkbox and radio imputs
MIT License
71 stars 43 forks source link

Change the input to have `display: none` #30

Closed nchutchind closed 2 years ago

nchutchind commented 5 years ago

When the input is positioned absolutely (like it is), checking it causes the page to jump in certain situations. If the input is not displayed (which it doesn't need to be because of this extension), there is no jumping of the page.

In my specific project, I had a scrollable div in the center of my page that had dynamically added boxes containing bulma-checkradios in it. Once the div is scrolled a bit and I check a box, the entire page shifts upward a large amount. Setting the input to display:none or to positions: relative fixes this.

nchutchind commented 5 years ago

This is for Issue #29