question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for horizontal scrolling in ScrollWidget

See original GitHub issue

I am trying to implement a UIScrollView which can be scrolled horizontally.

I believe this is not currently supported, as per this comment: https://github.com/icerockdev/moko-widgets/blob/master/widgets/src/commonMain/kotlin/dev/icerock/moko/widgets/ScrollWidget.kt#L23

I may be missing something, please let me know if I am.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Alex009commented, Jun 8, 2020

hi! for now ScrollWidget not have configuration of orientation (but we add it later. as part of this issue).

about CollectionWidget:

  1. collection widget on iOS now work not good in case of multiple columns. but if you use one column (or one row in horizontal orientation) - all should be good
  2. collection just like list will reuse items when scroll, so you should not add any input controls into this (keyboard will be crazy in cases of reuse items at scroll)
  3. CollectionWidget placed in widgets-collection because it require additional Swift CocoaPod for iOS. core widgets module not require any additional modules. it not mean that “it’s not part of library” - any of modules in this repository is part of moko-widgets. Separation by modules required for more control of applied dependencies in target application
0reactions
stevesoltyscommented, Jun 9, 2020

Got it. I’m all set now. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Horizontal Scroller Widget by Element Pack Pro in ...
Here we show How to Use Horizontal Scroller Widget by Element Pack ... [Note: You need to install the Elementor core plugin for...
Read more >
Elementor Horizontal Scroll Widget
Horizontal scroll widget for Elementor is fully customizable and very easy to use. You can use it to create an entire page or...
Read more >
Horizontal Scrolling in Web Design: How to Do It Well
Horizontal scrolling is a page navigation method in which the user scrolls left and right to reveal content from the sides of the...
Read more >
Horizontal scrolling for table widgets
Horizontal scrolling allows table widgets in smaller spaces or with high numbers of selected metrics, the ability to clearly display all data.
Read more >
Horizontal Scroll - Official Elementor Addons, Plugins and ...
Hey Elementors, there is no hard and fast rule for you to include vertical scrolling to your Elementor website. It is also possible...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found