Giter VIP home page Giter VIP logo

Comments (9)

a7ul avatar a7ul commented on May 15, 2024 3

There is a tiny bug where I need to assign min-width and min-height to the scrollView child at the moment.

from react-nodegui.

a7ul avatar a7ul commented on May 15, 2024 1

This is now fixed in the latest version of react-nodegui.

The scrollArea now can render dynamically sized content. Checkout the latest release :) @slidinghotdog

from react-nodegui.

academo avatar academo commented on May 15, 2024 1

Currently using

    "@nodegui/nodegui": "^0.44.0",
    "@nodegui/react-nodegui": "^0.13.0",

I can't get the scrollview to render a children on full width, it somehow forces the child to use the min width possible. I tried many combinations setting flex: 1 to the scroll area, children and so on but so far nothing.

If I were to render only the child without the scroll area, it will work all fine, but when the scroll area is added, all breaks. If I render a regular View with the same style it works as expected.

from react-nodegui.

CapitaineJSparrow avatar CapitaineJSparrow commented on May 15, 2024 1

@academo I'm experimenting exactly same behavior

from react-nodegui.

a7ul avatar a7ul commented on May 15, 2024

Hi @J-Cake
I have updated the starter project : react-nodegui-starter with a scrollview that fills the parent widget. I think it might be what you are looking for.

from react-nodegui.

elviosak avatar elviosak commented on May 15, 2024

@master-atul i could only get it to work setting height in pixels for the View inside like in the example, how do i do it if the View size is variable?

from react-nodegui.

JulianSolros avatar JulianSolros commented on May 15, 2024

@a7ul where is the scrollview example? I don't see it in the starter project....

from react-nodegui.

CapitaineJSparrow avatar CapitaineJSparrow commented on May 15, 2024

Hello, i'm looking for the scrollview example as well

from react-nodegui.

a7ul avatar a7ul commented on May 15, 2024

https://react.nodegui.org/docs/guides/scroll-view

from react-nodegui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.