appsmith
appsmith copied to clipboard
[Bug]: Design System - Modal - `right` attribute bound to incorrect prop
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
The ModalComponent of the design system doesn't set the right attribute correctly. The component already supports the right attribute as a prop, but it's not bound to it (bound to bottom instead).
Steps To Reproduce
- Go to the file: app/client/src/components/designSystems/appsmith/ModalComponent.tsx
- Search for
props.right. Then search forprops.bottom. You'll notice the inconsistency.
Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Release
PR: https://github.com/appsmithorg/appsmith/pull/23037
In fact also the ModalWidget/component has the exact same issue.
@iamenrique Please take a look.
@albinAppsmith : is this still an issue after ADS 2.0?