Comments (6)
Can change it, but where exactly error or problem?
from react-horizontal-scrolling-menu.
It's returning [ 'null', { key: 'n', elem: null, index: -1 },]
empty object, if can't find item with passed key.
Ok, it's should return menuItem object, it is fallback.
from react-horizontal-scrolling-menu.
Thanks for quick response
https://codesandbox.io/s/sweet-surf-9t2bt
Look console.
If i pass null, i wanna get null, but i get 'null'
from react-horizontal-scrolling-menu.
Can return empty string, for don't change typescript definitions.
Is '' fine?
But items actually all should have key as string value.
from react-horizontal-scrolling-menu.
It's a good idea.
from react-horizontal-scrolling-menu.
Ok, in version 0.6.11
from react-horizontal-scrolling-menu.
Related Issues (20)
- Failed to minify the code error while build the app after react script update to Version >=2 , build done but not running on production HOT 1
- Could not find a declaration file for module 'react-horizontal-scrolling-menu'. HOT 1
- Vertically Scrolling Feature HOT 5
- Update readme HOT 2
- 'Arrow' component is not defined. HOT 1
- [BUG]To many rerenders HOT 3
- Update `smooth-scroll-into-view-if-needed` to latest version HOT 1
- Testing issues HOT 1
- [ERROR] Could not resolve "smooth-scroll-into-view-if-needed" HOT 4
- Export Context Provider as seperate component HOT 1
- Ability to animate children HOT 10
- How to prevent to scroll on scroll menu position when scrollPrev or scrollNext called. HOT 2
- Scroll item to center but don't scroll the whole page so the item is in view. HOT 4
- Issue with scroll on grab - div doesn't stop scrolling once the cursor exits scrollable area [BUG] HOT 2
- [BUG] Scroll doesn't work when the hight of Cards are higher than viewport HOT 3
- Is it impossible to use it in the server component? HOT 1
- [BUG] Show and Hide Button Arrows HOT 1
- Docs are outdated (visibleElements and initComplete) HOT 1
- [BUG] Import package HOT 5
- [BUG] Arrows appear when scrolling on the Y-axis HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-horizontal-scrolling-menu.