Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Checkbox] Fix shift click (Shopify#11810)
### WHY are these changes introduced? Fixes Shopify#11809 https://bugzilla.mozilla.org/show_bug.cgi?id=559506#:~:text=18%20days%20ago-,If%20you%20shift%2Bclick%20or%20ctrl%2Bclick%20on%20a%20label,checkbox%2C%20checkbox%20is%20not%20checked. ### WHAT is this pull request doing? This PR changes our checkbox input from being 1px / 1px hidden, to full size with opactiy 0. So the click event gets triggered. ### How to 🎩 [Spin](https://admin.web.checkbox.kyle-durand.us.spin.dev/store/shop1/orders) ### 🎩 checklist - [ ] Tested a [snapshot](https://github.com/Shopify/polaris/blob/main/documentation/Releasing.md#-snapshot-releases) - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide --------- Co-authored-by: Chloe Rice <chloerice@users.noreply.github.com>
- Loading branch information