You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Result
Should work without throwing an error.
Actual Result
index.js:2178 Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.
Check the render method of `Modal`.
in as (created by Modal)
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
✔ BUGS → This form is required:
FIX seems to be a "TODO" commented here:
Semantic-UI-React/src/modules/Modal/Modal.js
Line 285 in 7ac06c4
Steps
<Modal defaultOpen={true} as={(props) => <div {...props} />} />
Expected Result
Should work without throwing an error.
Actual Result
Version
0.78.2
Testcase
Sample
The text was updated successfully, but these errors were encountered: