appleboy / appleboy/react-recaptcha
responsive design on size prop
- Dominant language
- JavaScript
- Stars
- 643
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
Hey there,
I have a reCaptcha element as below and have set a ternary condition in the size prop to change the size based on a breakpoint however it does not seem to re-render. The `isMobile` variable is definitely updating. Wondering if there is a particular way to handle this with react-recaptcha:
``
thanks for the great snippet!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the provided Recaptcha usage with the size prop changing from compact to normal at a breakpoint. Inspect how the component handles size updates after initialization and confirm whether the widget changes size when isMobile updates; done means the responsive size behavior is defined and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100