Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
This is not related to configuring Outline
- The issue is not related to self-hosting config
Current Behavior
When rendering the Popover component, the following React warning appears in the console:
Warning: Invalid value for prop place
on
tag. Either remove it from the element, or pass a string or number value to keep it in the DOM.
This is due to the place prop (coming from the Popover API or internal logic) being spread onto a native
, which does not accept this attribute.
Expected Behavior
There should be no invalid props passed to native DOM elements. The place prop should be filtered out or handled properly before reaching the rendered DOM.
Steps To Reproduce
Click "New document" to start creating a new doc.
Open the browser console.
Observe the warning about the place prop on a
element.
Environment
- Outline:latest
- Browser:Firefox 125
Anything else?
The warning is related to the Popover component. A fix has been made locally by filtering out the invalid place prop before it reaches the DOM.
A pull request has been submitted to address this issue: #9191
Metadata
Metadata
Assignees
Labels
No labels