primefaces / primefaces/primereact

Sidebar: forms can't be submitted in the presence of non-modal Sidebars

Open
#3,360 5 comments 0 reactions 0 assignees View on GitHub

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
  1. Click "Submit"
  2. Verify that no message is logged, i.e. submission doesn't work
  3. Comment out <Sidebar /> element
  4. Verify that a message is logged, i.e. submission works
Expected behavior

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.