File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2323- [ PATCH] Corrections for how height is calculated in ` MultiLineInput `
2424- [ MAJOR] Removed ` Head ` in favor of react 19 inline metadata tags
2525- [ MINOR] Added ` isResizableVertically ` and ` isResizableHorizontally ` to ` MultiLineInput `
26+ - [ MAJOR] Fix for ` Checkbox ` to not use aboslute positioning to hide the input
2627
2728### Removed
2829
Original file line number Diff line number Diff line change @@ -118,16 +118,14 @@ const StyledContainer = styled.label<IStyledCheckboxProps>`
118118` ;
119119
120120const StyledHiddenCheckbox = styled . input `
121+ opacity: 0;
122+ pointer-events: none;
123+ width: 0 !important;
124+ height: 0 !important;
125+ margin: 0;
126+ padding: 0;
121127 border: 0;
122- clip: rect(0 0 0 0);
123- clippath: inset(50%);
124- height: 1px;
125- width: 1px;
126- margin: -1px;
127128 overflow: hidden;
128- padding: 0;
129- position: absolute;
130- white-space: nowrap;
131129` ;
132130
133131const StyledCheckbox = styled . div `
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const Template = (args) => {
1616 <div style = { {height: ' 250px' }} >
1717 <OptionSelect { ... args } selectedItemKey = { args .selectedItemKey || selectedItemKey } options = { args .options || options } onItemClicked = { args .onItemClicked || setSelectedItemKey } />
1818 </div >
19- );
19+ );
2020};
2121
2222<Canvas withToolbar = { true } withSource = { ' none' } >
You can’t perform that action at this time.
0 commit comments