Comments (10)
That's seemed to be a problem with babel config.
Can anyone tell me what's the meaning of each option in babel runtime transformer?
from smooth-scrollbar.
I see the demo works now, thanks! However the 'dist' folder js version doesn't.
SCRIPT438: Object doesn't support property or method 'assign'
File: smooth-scrollbar.js, Line: 2, Column: 6724
from smooth-scrollbar.
Oh babel config is still broken :(
from smooth-scrollbar.
@prettytamben I found no workaround for the conflict caused by babel-transform-runtime-plugin
, so I'm going to remove all Object.assign
in my code 😢
from smooth-scrollbar.
What are the consequences?
from smooth-scrollbar.
@prettytamben Object.assign
requires a polyfill in IE, but if I enable polyfill
option in runtime transformer, it will generate code like:
import _Object$defineProperty from 'babel-runtime/core-js/object/define-property';
import _Object$keys from 'babel-runtime/core-js/object/keys';
Object.defineProperty(exports, "__esModule", {
value: true
});
That is a well-known bug in babel@6: https://phabricator.babeljs.io/T2877, and hasn't been resolved yet 😢
from smooth-scrollbar.
Thanks, it works!
On Wed, Aug 10, 2016 at 11:21 AM, Dolphin Wood [email protected]
wrote:
Try update to version 7.1.3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#33 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANpdoYMRI4gICdaEgOh5XgT5wpqZmRoDks5qeZgKgaJpZM4Jfw2p
.
from smooth-scrollbar.
@prettytamben actually it's still failing in IE10... I am looking for another workaround.
from smooth-scrollbar.
Should be resolved in version 7.1.4 👏 🎉
from smooth-scrollbar.
Genius! :)
from smooth-scrollbar.
Related Issues (20)
- Damping effect gone after calling ev.stopPropagation() HOT 5
- [Idea/v9] target-agnostic smooth scrolling engine HOT 2
- Anchor Tags not working with horizontal scrolling HOT 4
- Max size of scrollbar thumbs
- scrollbar.scrollTo easing not working HOT 12
- Unable to preventDefault inside passive event listener invocation. HOT 3
- `types` in `package.json` pointing at non-existent file HOT 2
- Hide scrollbar with display:none HOT 1
- auto hide doesn't work HOT 1
- Can't zoom web pages on mobile
- Always visible scrollbar HOT 2
- Next JS Demo with Custom hook
- NextJs throws error when navigating from 404 page to normal page HOT 2
- Different timings when >60Hz display connected
- virtual scroll how do we do it ?
- Sticky header of scrolled content
- cant able to float anything is their any solution
- Scrollbar not working well with column-reverse
- need an offsetTop detect indead of scrollbar.scrollIntoView HOT 5
- Overscroll Glow doesn't hide if scrolling the opposite direction while it's visible
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 smooth-scrollbar.