Comments (2)
I am having weird behavior too, but even when i used the code you provided, its still behaving weirdly... i am wondering if i supposed to assign the scrollEL to a div that is scrollable?? Because i have anchor tag that is supposed to be clickable, but now the touchstart/touchend event is being detected, but the anchor tag "click" isnt getting triggered.
from material-refresh.
Cool, it's quite better performance with this transform version than only with positioning, but yes, the arroy spin still extrange. My fix is a CSS fix, just add a transition to the arrow. This can be done in the selector .mui-arrow-main
that is in line 44 of material-refresh.css
by adding:
-webkit-transition: transform 0.2s;
-moz-transition: transform 0.2s;
-o-transition: transform 0.2s;
transition: transform 0.2s;
So, the full selector ends like this:
.mui-half-circle,
.mui-arrow-main {
position: absolute;
top: 0;
width: 25px;
height: 25px;
box-sizing: border-box;
border-width: 3px;
border-style: solid;
border-color: #000 #000 transparent;
border-radius: 999px;
-webkit-transition: transform 0.2s;
-moz-transition: transform 0.2s;
-o-transition: transform 0.2s;
transition: transform 0.2s;
}
Hope to help ;)
P.D. Yes, it also affects to .mui-half-circle
, but I haven't detected any extrange behaviour. If you are so paranoid about it, you can just add a new style rule between line 55 and 56, exactly this one:
.mui-arrow-main {
-webkit-transition: transform 0.2s;
-moz-transition: transform 0.2s;
-o-transition: transform 0.2s;
transition: transform 0.2s;
}
Happy coding!
from material-refresh.
Related Issues (17)
- problem with chrome and web-kit HOT 1
- touchEnd freezes inputs HOT 1
- Links won't work when using material refresh HOT 2
- can i cancel the refresh when i swipe the div?
- click not working with material-refresh HOT 1
- click's when on top not working HOT 1
- Angular / Angular Material
- Doesn't work with Univeral setup using Webpack (React)?
- Activates while still not on the top of the page
- Don't work with iOS
- not same behavior like google
- After refresh app will be closed on android 11
- use jquery, this plugin doesn't work correctly HOT 3
- react-native support ?
- browserify require material-refresh failed
- not working with jquery HOT 1
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 material-refresh.