diff --git a/changelogs/fragments/8108.yml b/changelogs/fragments/8108.yml new file mode 100644 index 000000000000..ceb661ab0fb0 --- /dev/null +++ b/changelogs/fragments/8108.yml @@ -0,0 +1,2 @@ +fix: +- Correct the size of disabled ValidatedDualRange components in InputControl visualizations ([#8108](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8108)) \ No newline at end of file diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap b/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap index 0d07734c2cee..c185d61aa0ca 100644 --- a/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap +++ b/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap @@ -10,6 +10,7 @@ exports[`disabled 1`] = ` diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.tsx b/src/plugins/input_control_vis/public/components/vis/range_control.tsx index cf7a815315a2..f014961acae8 100644 --- a/src/plugins/input_control_vis/public/components/vis/range_control.tsx +++ b/src/plugins/input_control_vis/public/components/vis/range_control.tsx @@ -104,7 +104,7 @@ export class RangeControl extends PureComponent; + return ; } const decimalPlaces = _.get(this.props, 'control.options.decimalPlaces', 0); @@ -121,7 +121,7 @@ export class RangeControl extends PureComponent