Problem with React Spectrum Provider automatically applies scale client-side #6674
-
React Spectrum Provider automatically applies scale client-side depending on the device size, which causes a flicky effect on initial render. Is it expected behavior or is there any recommendation for handling this? |
Beta Was this translation helpful? Give feedback.
Answered by
snowystinger
Jul 9, 2024
Replies: 1 comment 1 reply
-
This is expected behavior. If you can determine the device ahead of time, you can apply the scale to the provider ahead of time. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
phuctm97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is expected behavior. If you can determine the device ahead of time, you can apply the scale to the provider ahead of time.
You can also delay showing the application until after first render.