watson-developer-cloud / discovery-components

IBM Watson Discovery components
https://watson-developer-cloud.github.io/discovery-components/storybook
Apache License 2.0
20 stars 38 forks source link

fix: Add position: relative to checkboxes, radio buttons, and data table #538

Closed jelslip closed 9 months ago

jelslip commented 9 months ago

to work around Chromium UI issue.

What do these changes do/fix?

https://github.ibm.com/watson-discovery/disco-issue-tracker/issues/17308

Fixes a problem where the UI is shifted upwards after clicking checkboxes or radio buttons in the sample application.

How do you test/verify these changes?

NOTE: You may need to adjust your screen size to see the issue. I see the problem when the browser height is less than about 800 px.

The appropriate text should be selected in the content section, and the UI should not shift upwards.