appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.6k stars 3.73k forks source link

[Bug]: Deploy mode screen shifts when any of the select widget is placed on the extreme right of the canvas #19213

Open shwetha-ramesh opened 1 year ago

shwetha-ramesh commented 1 year ago

Is there an existing issue for this?

Description

When a user places any select widget (select/multiselect/multitreeselect/treeselect) with its Label aligned to Left on the extreme right corner of the canvas and deploys the application. In deployed version when clicked on the drop down the screen shifts and a white cast is seen.

image

Steps To Reproduce

  1. Drag and drop any select widget (select/multiselect/multitreeselect/treeselect) on the extreme right corner of the canvas
  2. Change the Label Position to Left
  3. Deploy the app > Click on the drop down

Public Sample App

https://release.app.appsmith.com/app/untitled-application-10/page1-630331534d2e9f6bb88ad641

Issue video log

https://loom.com/share/c6373e0454ec440d8b6ab3e9a11f983d

Version

Cloud

somangshu commented 1 year ago

Actually this does not have anything to do with the label position, it happens regardless

vsvamsi1 commented 1 year ago

We have a fix for the select widget but for the other widgets multiselect/multitreeselect/treeselect the fix is not very straightforward and hacky. In the new WDL we will try to accommodate the auto placement behaviour, so defering this fix for now. I have also raised an issue with the author of that library https://github.com/react-component/select/issues/917#issue-1578395675, if a fix comes in earlier we will try to bring it in.