react-indiana-drag-scroll VS react-svg-pan-zoom

Compare react-indiana-drag-scroll vs react-svg-pan-zoom and see what are their differences.

react-indiana-drag-scroll

React component which implements scrolling via holding the mouse button or touch (by Norserium)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
react-indiana-drag-scroll react-svg-pan-zoom
1 3
485 673
- -
0.0 0.0
over 1 year ago 11 months ago
TypeScript JavaScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

react-indiana-drag-scroll

Posts with mentions or reviews of react-indiana-drag-scroll. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-22.
  • I wasted two days jerry-rigging a package when the solution was one search away
    5 projects | dev.to | 22 Mar 2022
    At first, I was going to use react-indiana-drag-scroll to solve the first problem. And it worked. But I had a feeling that there might be a solution that solved both of these problems at the same time. Searching on libhunt, openbase, and duckduckgo, I found out that this problem is actually very old and the term that better fit my problem was "pan and zoom". Searching with this term, I stumbled upon react-pan-and-zoom-hoc, which helped solve my problem, but it was difficult to fidget with because rather than having a simple component, the component spit out the correct x, y axes translation that would need to be worked into the component's CSS. No bueno. I attempted to jerry-rig this package for two days before giving up and switching to react-svg-pan-zoom, which worked pretty much instantly and was exactly what I needed.

react-svg-pan-zoom

Posts with mentions or reviews of react-svg-pan-zoom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-22.
  • Skill Tree Update 4/11/2022
    1 project | dev.to | 11 Apr 2022
    One of the goals of this week was to add statefulness to the skill tree app. Fortunately, pan and zoom works perfectly fine out of the box. Event listeners for keyboard shortcuts were actually pretty easy to add. One portion that I struggled with was experimenting with PUT, PATCH, and POST methods using RTK Query on the frontend. Despite understanding how it all works, there's that nagging feeling in the back my head that's like, there's no way this is going to work. But it did work. I have CRUD functionality now!
  • I wasted two days jerry-rigging a package when the solution was one search away
    5 projects | dev.to | 22 Mar 2022
    At first, I was going to use react-indiana-drag-scroll to solve the first problem. And it worked. But I had a feeling that there might be a solution that solved both of these problems at the same time. Searching on libhunt, openbase, and duckduckgo, I found out that this problem is actually very old and the term that better fit my problem was "pan and zoom". Searching with this term, I stumbled upon react-pan-and-zoom-hoc, which helped solve my problem, but it was difficult to fidget with because rather than having a simple component, the component spit out the correct x, y axes translation that would need to be worked into the component's CSS. No bueno. I attempted to jerry-rig this package for two days before giving up and switching to react-svg-pan-zoom, which worked pretty much instantly and was exactly what I needed.
  • What components are you most afraid of building?
    3 projects | /r/reactjs | 26 Jan 2022
    Any components that require zoom & pan. I've tried rolling my own for an SVG application but handling the screen-view matrices was too difficult ._. Went with a library instead (https://www.npmjs.com/package/react-svg-pan-zoom).

What are some alternatives?

When comparing react-indiana-drag-scroll and react-svg-pan-zoom you can also consider the following projects:

react-hexgrid - Build interactive hexagon grids with React

react-image-lightbox - React lightbox component

splide - Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.

react-photo-gallery - React Photo Gallery

react-pan-and-zoom-hoc

react-compare-image - React component to compare two images with a slider

svelte-gesture - 👇 Bread n butter utility for component-tied mouse/touch gestures in Svelte.

react-images - 🌄 A mobile-friendly, highly customizable, carousel component for displaying media in ReactJS

use-scroll-direction - A simple, performant, and cross-browser hook for detecting scroll direction in your next react app.

react-imgix - React component to display imgix images

React horizontal scrolling menu - Horizontal scrolling menu component for React.

react-lightgallery - React wrapper for lightgallery.js