PromucFlow_constructor/app/client/src/widgets
Abhinav Jha 74c3a9c347
fix: Remove scrollbars in edit mode (#20805)
## Description
- Due to the resize handle dot (see screenshot)

![Screenshot 2023-02-20 at 8 39 24
PM](https://user-images.githubusercontent.com/103687/220142698-511a62e6-3d58-4bd2-833e-2d8ae5310a01.png)

A scroll used to appear (before this PR) when a widget was at the bottom
of an auto height enabled container like widget. (See _before_ recording
below in the media section)

- This used to happen only in the edit mode, as the resize handles are
not available in any other mode (view or preview)
- This PR fixes it by ensuring the parent container accommodates by
removing the scrollbars when we have auto height enabled in container
like widgets.
- As a result, despite the dots being present, the scrollbars don't
appear in the container like widgets when auto height is enabled. (see
_after_ recording below in the media section)


Fixes #20806
Media

Before


https://user-images.githubusercontent.com/103687/220143436-c4f95377-0f38-4340-ba12-c5f352bd3511.mov

After


https://user-images.githubusercontent.com/103687/220143336-bd475c52-efb8-4d70-8c21-09a7b663133a.mov



## Type of change
- Bug fix (non-breaking change which fixes an issue)
2023-02-24 13:22:53 +05:30
..
AudioRecorderWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
AudioWidget fix: resetting audio and video widget (#18126) 2022-12-07 20:40:28 +05:30
BaseInputWidget feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
ButtonGroupWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
ButtonWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
CameraWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
CategorySliderWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ChartWidget fix: Multiseries chart data does not load completely (#20248) 2023-02-02 19:47:09 +05:30
CheckboxGroupWidget chore: removed unused import (#20145) 2023-01-27 14:29:13 +05:30
CheckboxWidget fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
CircularProgressWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
CodeScannerWidget feat: Add type inference for redux's useSelector hook (#18257) 2022-11-28 08:13:17 +00:00
components feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
ContainerWidget fix: Remove scrollbars in edit mode (#20805) 2023-02-24 13:22:53 +05:30
CurrencyInputWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DatePickerWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DatePickerWidget2 feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DividerWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
DocumentViewerWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
DropdownWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
FilepickerWidget fix: Number validation passthrough behaviour on 0 (#18001) 2022-11-01 18:17:07 +05:30
FilePickerWidgetV2 fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
FormButtonWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
FormWidget feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
IconButtonWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
IconWidget feat: Deprecation warning message update to reference the widget that is replacing it (#14532) 2022-06-23 20:39:00 +05:30
IframeWidget feat: Add type inference for redux's useSelector hook (#18257) 2022-11-28 08:13:17 +00:00
ImageWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
InputWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
InputWidgetV2 feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
JSONFormWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ListWidget feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
ListWidgetV2 fix: Limit List widget nesting to a maximum of 3 levels (#20506) 2023-02-21 09:43:25 +05:30
MapChartWidget fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
MapWidget chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
MenuButtonWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ModalWidget feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
MultiSelectTreeWidget feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
MultiSelectWidget feat: Renamed design system package (#19854) 2023-01-23 09:20:47 +05:30
MultiSelectWidgetV2 feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
NumberSliderWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
PhoneInputWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
ProgressBarWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
ProgressWidget feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
QRGeneratorWidget fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
RadioGroupWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
RangeSliderWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
RateWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
RichTextEditorWidget feat: emoji picker for the RTE widget (#19767) 2023-01-16 15:36:13 +05:30
SelectWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
SingleSelectTreeWidget feat: Error handling phase 1 (#20629) 2023-02-18 18:25:46 +05:30
StatboxWidget feat: Non auto height invisible widgets (#20118) 2023-02-14 19:06:19 +05:30
SwitchGroupWidget fix: update button states to secondary (#19048) 2022-12-29 11:08:13 +00:00
SwitchWidget fix: center the widget when height is min auto height (#19496) 2023-02-02 18:18:50 +05:30
TableWidget feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
TableWidgetV2 fix: Table breaks on adding binding to column name (#20686) 2023-02-22 21:02:05 +05:30
TabsMigrator chore: Moved tern server to worker (#18464) 2022-11-27 11:41:01 +05:30
TabsWidget fix: Remove scrollbars in edit mode (#20805) 2023-02-24 13:22:53 +05:30
TextWidget fix: change word truncate behavior in show more modal (#20747) 2023-02-20 14:20:22 +05:30
VideoWidget chore: update Styled components to latest version and related cleanup (#19284) 2023-01-13 16:35:59 +05:30
BaseComponent.tsx
BaseWidget.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
CanvasWidget.tsx chore: Render below the fold widget components when browser is idle using Intersection Observer (#18747) 2023-02-08 16:53:39 +05:30
constants.ts fix: Limit List widget nesting to a maximum of 3 levels (#20506) 2023-02-21 09:43:25 +05:30
MetaHOC.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
MetaWidgetContextProvider.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
Skeleton.tsx perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
SkeletonWidget.tsx fix: Fixing GRID_DENSITY_MIGRATION_V1 based configs and adding test cases. (#10488) 2022-01-21 15:49:10 +05:30
useDropdown.tsx feat: [APPSMTH-22] Execute action on widget focus and blur (#18128) 2022-12-12 12:39:22 +05:30
WidgetUtils.test.ts fix: Switch to preview mode performance issue (#18457) 2022-11-27 22:42:00 +05:30
WidgetUtils.ts feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
withLazyRender.tsx chore: Render below the fold widget components when browser is idle using Intersection Observer (#18747) 2023-02-08 16:53:39 +05:30
withWidgetProps.tsx feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00