Skip to content

fix(drawer): correct modal prop JSDoc typo#8583

Open
Razzaghnoori wants to merge 1 commit into
primefaces:masterfrom
Razzaghnoori:fix/drawer-modal-jsdoc-typo
Open

fix(drawer): correct modal prop JSDoc typo#8583
Razzaghnoori wants to merge 1 commit into
primefaces:masterfrom
Razzaghnoori:fix/drawer-modal-jsdoc-typo

Conversation

@Razzaghnoori
Copy link
Copy Markdown

@Razzaghnoori Razzaghnoori commented May 26, 2026

Summary

Fixes a typo in the modal prop documentation for the Drawer component (and related generated docs).

Before: Whether to a modal layer behind the drawer.
After: Whether to display a modal layer behind the drawer.

Also fixes packages/primevue/scripts/components/drawer.js, which incorrectly referred to "sidebar" instead of "drawer", and applies the same JSDoc fix to the legacy sidebar.js.

The modal property description was missing the verb "display"
(e.g. "Whether to a modal layer..."). Also fixes drawer.js using
"sidebar" instead of "drawer", and the same typo in sidebar.js.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant