-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScrollArea not working properly (MacOS Big Sur 11.2.2) #342
Comments
Just upgrade to the latest versions of nodegui & react-nodegui |
I updated to latest but I'm still seeing the issue. It doesn't seem to be marked as fixed either, just going by this. |
@dshomoye Have you updated the react nodegui and nodegui versions ? I tried your example and it looks like its working as expected That issue is closed and fixed. |
You're right, I'm not sure what happened when I had initially tested, but it seems this is not the problem I have. In my case, I'm getting an array of objects and rendering them into a I have a sample code here: https://github.com/dshomoye/react-nodegui-starter/blob/ff14af28d9b207e9ba4c377ed23b2f3be4491dac/src/components/NotesContainer.tsx#L7 |
Describe the bug
ScrollArea
does not seem to work with nested view (no scrollbars).It's a little confusing because rendering a single
Text
component inside the scroll area works.Like so:
Which yields:
But nesting the
Text
in aView
, inside aScrollArea
(which is required for multiple children) doesn't work:Which yields (text clipped, no scroll bar):
Expected behavior
Nesting
View
should behave like any other component, especially since a container is required for nesting children in aScrollArea
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: