primefaces / primefaces/primereact
Sidebar: forms can't be submitted in the presence of non-modal Sidebars
Open
Nobody has claimed this yet.
Resolution: Workaround
Type: Bug
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Likely related to https://github.com/primefaces/primereact/issues/2562
Reproducer
https://codesandbox.io/s/primereact-test-forked-ghjz97?file=/src/index.js
PrimeReact version
8.6.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
- Click "Submit"
- Verify that no message is logged, i.e. submission doesn't work
- Comment out
<Sidebar />element - Verify that a message is logged, i.e. submission works
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 CodeSandbox reproducer, especially src/index.js, and compare form behavior with the non-modal present versus commented out. Trace the Sidebar and form interaction in the PrimeReact source. Done means the form submission logs its message while the non-modal Sidebar remains rendered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100