FastScroll in React Native - reactjs

Any suggestions on implementing quickscroll AKA fastScroll on React Native?
I'm trying to implement quick scrolling -- AKA fast scrolling -- on a FlatList in React Native and I'm running into a lot of issues.
The existing libraries, react-native-quick-scroll & react-native-alphabetlistview don't perform too well when scrolling and are rather dated.
I'm looking for something similar to the screenshot below, where the user can scroll normally by touching the list items but also scroll much faster using the scroll bar on the right side.
Does anyone have any suggestions?
Any help would be greatly appreciated!

React Native TableView might work, using the sectionIndexTitlesEnabled property, but it is iOS-only: https://github.com/aksonov/react-native-tableview

Related

How to get to top in every React router dom without the scroll effect?

I found out that there's lot of answers regarding this but all of the solution gives the smooth scrolling effect and I don't need that. It's so annoying to the eyes.
Can someone suggest me some different solution to it?

Which Carousel Library is best for achieving the following effect (react)?

[1]: https://i.stack.imgur.com/AqE6r.png**strong text**
Does anyone know which carousel library is best for achieving this effect, with the previous and next pictures overflowing onto the screen as shown in the linked picture? Bootstrap 5.1 and react-bootstrap seem incapable of this.
You can do it easily with this library.
https://swiperjs.com/
Swiper Demos (Examples)
https://swiperjs.com/demos#slides-per-view
https://swiperjs.com/demos/110-slides-per-view/core
For the installation on react the documentation is quite good
https://swiperjs.com/react
You can configure the number of slides you want to see on your screen... In your case, it's 3 slides per view.
For the rest you just adapt with the CSS to get the view you want.

Why is React Interact JS intergration not updating correctly?

I am trying to integrate InteractJS and ReactJS and I am seeing a strange but predictable problem on moving items from one dropzone to another and a mismatch between the UI and the underlying state object array. I realise this is most likely a bug in my code due my limited knowledge or React updates and/or InteractJS events - or both - but after three days staring at it I am very grateful for any insight into what may be causing this problem.
I have created a minimal codesandbox to demonstrate the problem.
I can drag all of the items into a dropzone and between dropzones in reverse order and both state and rendered output correctly updates.
However if I drag an intermediate item (i.e. not the last one) from a dropzone into another, React incorrectly re-renders the object immediately succeeding the dragged item in the wrong dropzone.
My question is: Why does the React render not match the state object for intermediate items but works correctly dragging items in reverse order?
Thanks
While researching how to handle multitouch gestures (drag and drop, zoom rotating, etc. of elements) in React.js I first found interactjs. It didn't worked well and after some more research I found enter link description here. Good documentation and it works very well with animation libraries.
I would strongly recommend not to use interactjs in a React project.

Horizontal ScrollView Loop in React Native

Checked different settings and sources, but can’t find the way to make an infinite horizontal scrolling with React Native, so that e.g. when the last image is reached, the next gesture would lead to the first image. Am I missing a setting, or is there a more sophisticated way of doing this? Please advise and if possible, share some code. Using external libraries is very undesirable.

UIScrollView Canvas Equivalent?

I'm currently putting together a PoC for the web. I've done about 9 years of iOS development so I think in those contexts/concepts. What I need to build is something similar to a UIScrollView/CATiledLayer for the web.
I need to build out a tool that allows users to build their own flowcharts, something I've already built on iOS. I'm prototyping on the web and I'm not sure where to get started. I've played around with a few canvas libraries thus far.
I want to build something that can have a fixed viewport with other components rendered off-screen. The viewport has fixed bounds that you can expand and allows me to put subcomponents in the view and move them around if I'd like to.
My web/javascript experience is pretty much Ember, React and plain old ES5/ES6. My HTML skills aren't that strong and I think I may have missed something fundamental.
My goal is to have something that can work with an existing react stack my company uses. I'm happy to roll my own solution but would love to get advice about the right direction to pursue. I feel like I have almost nil domain knowledge in this area.
This JS library, Dracula should be of great help to you since you're working with drag and drop flowcharts. You can see a working example here. NOTE: This lib is based on SVG and doesn't use canvas.
Here's another beautiful live demo: Source code for JS Flowchart here
Also take a look at this Dragon drop fiddle
And regarding ScrollView in HTML, you can simply use divs with css styles overflow-y: scroll and/or overflow-x: scroll. Using flex layouts, apart from giving you mobile-like development feel, will help you have so much control over your layouts based on the screen size.
Hope this should get you started.

Resources