PromucFlow_constructor/app/client
Abhinav Jha fddc3601fb
fix: force auto height on no drop (#20917)
## Description
When we drag a widget within a container like widget, the container
expands instantly. However, when we don't drop the widget and bring the
mouse point outside the canvas, the auto height fails to kick in, as no
action has been performed. This results in the container like widget's
height to remain as it was. This leads to incorrect height for the
container like widget.

This PR fixes it by forcing a new computation when the container like
widget's internal canvas receives a new height.

Fixes #20907 



Media
Before


https://user-images.githubusercontent.com/103687/220900648-81cb5a0e-9aea-4d21-901e-29a8aa99c6b2.mov


After


https://user-images.githubusercontent.com/103687/220900630-725929dc-ce87-4b92-aec4-1305acd79e18.mov


## Type of change

- Bug fix (non-breaking change which fixes an issue)
2023-02-24 18:08:27 +05:30
..
cypress fix: Auto-generated header Refactor (#19873) 2023-02-24 12:18:48 +00:00
docker fix: Increased Nginx limit to 150 MB to allow 100 MB Base 64 encoded files (#20617) 2023-02-20 20:34:02 +05:30
generators feat: Auto height instant update (#19082) 2023-02-03 11:17:40 +05:30
patches
perf ci: run fat container docker inside perf tests and update setup-perf-test workflow to use localhost for accessing dev environment (#20280) 2023-02-07 15:56:41 +05:30
public fix: Remove extra event and old disable var (#20624) 2023-02-15 19:16:04 +05:30
src fix: force auto height on no drop (#20917) 2023-02-24 18:08:27 +05:30
test feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
typings feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
.babelrc
.dockerignore
.editorconfig
.eslintrc.json
.flowconfig
.gitignore
.huskyrc
.lintstagedrc
.nvmrc
.prettierignore
.prettierrc
.sentryclirc
build.sh ci: Ship source maps + fix perf test failures on EE (#18700) 2022-12-09 18:40:59 +05:30
craco.build.config.js feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
craco.common.config.js
craco.dev.config.js chore: updated dependencies removed unused dependencies. (#19441) 2023-01-06 19:12:03 +05:30
cypress_ci.json test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
cypress.env.json feat: [Context Switching] Complex widgets and other Phase 2 items (#17046) 2022-12-08 12:51:58 +05:30
cypress.json test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
Dockerfile
index.tsx
jest.config.js fix: Remove extra event and old disable var (#20624) 2023-02-15 19:16:04 +05:30
package.json feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
postcss.config.js
README.md
README.old.md
start-https.sh fix: Increased Nginx limit to 150 MB to allow 100 MB Base 64 encoded files (#20617) 2023-02-20 20:34:02 +05:30
stats.json
tailwind.config.js
tsconfig.json feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
tsconfig.path.json
vercel.json
yarn.lock feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30

Appsmith Client

This project was bootstrapped with Create React App.

For details on setting up your development machine, please refer to the Setup Guide