primefaces / primefaces/primereact
Multiselect "appendTo="self" menu select display UI bug
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When applying appendTo="self" on <Multiselect /> input and menu UI styles are displayed out of frame.
Without appendTo everything works fine.
Applying appendTo="self" on <Select /> works as expected.
Reproducer
https://stackblitz.com/edit/5ngsmpgu-4fmfkx7n?file=src%2FApp.jsx
System Information
-
Steps to reproduce the behavior
- Go to https://stackblitz.com/edit/5ngsmpgu-4fmfkx7n?file=src%2FApp.jsx
- Run the app
- add appendTo="self"
Expected behavior
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the StackBlitz reproducer's src/App.jsx and compare the Multiselect appendTo="self" behavior with Select, where the same option works. Reproduce the out-of-frame menu styling, then trace the corresponding Multiselect component entry point; done means the menu remains correctly positioned when appendTo="self" is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100