I think this has been discussed before. BrowserComponent is meant to be used in the center of a BorderLayout Form. Avoid mixing it with other components other than a toolbar. If you want to add stuff next to your BC, add it in the html and pass callbacks
On Wed, 17 Mar 2021 at 11:48, 'P5music' via CodenameOne Discussions < [email protected]> wrote: > I have some troubles with the scrollable feature of Containers when a > BrowserComponent is involved, especially on simulator. > I can have some good functioning on Android if I assign a large height to > its content. > > In certain cases the BrowserComponent takes all the space in the UI. > My app has an editing screen that has some controls on the top part, and a > BC on the bottom part. > The UI scrolls but when I start writing into the BC it takes all the space > and it is not possible to scroll back or to see or regain control of the > top part of the UI. > > I would like to pass the touchmove events to the underlying Container. > It is a special event that I use along with touchstart and touchend to > ensure the scroll events are filtered, but it is used in another > BrowserComponent. > > Now I want to use it to create a smooth user experience for this BC, > passing it in a transformed form to the underlying Container. So I am not > going to pass it directly. > > I just want to know what method I have to call on the main underlying > container to make it scroll. > > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/codenameone-discussions/dbbb198e-68ca-4b21-aa2b-0a98411769cbn%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/dbbb198e-68ca-4b21-aa2b-0a98411769cbn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAG90yJ3W94ksbvchw0ina17H1dWQb%2BJk_NKrfH%3D_JNCb8JkhAw%40mail.gmail.com.
