Consistent modal IDs across React Elements

πŸ” Problem Statement

As a developer, Pelcro React Elements modals lack consistent IDs, making customization and DOM targeting unreliable.

πŸ’‘ User Story

As a developer, I want every modal to have a predictable, consistently-named DOM ID so I can reliably target, style, and instrument it.

🎯 Definition of Done (DoD)

  1. βœ” Given any Pelcro React Elements modal, when it mounts, then its root element has a stable id following the agreed naming convention (e.g. pelcro-modal-{name}).

  2. βœ” This change will impact UI, specifically the ReactJS Elements library.

  3. βœ” Limitations: modal root IDs only; nested elements are out of scope. Naming convention must be published in the Elements docs.

Please authenticate to join the conversation.

Upvoters
Status

Planned

Board
πŸ’‘

Pelcro Product

Date

1 day ago

Author

Rana Haleem

Subscribe to post

Get notified by email when there are changes.