Comments (8)
Add the class "skel-panels-fixed" to your element. Should do the trick.
from skel.
That actually moves the element to the bottom of the page, cause fixedWrapper follows pageWrapper, and both have position: relative
from skel.
That's a workaround to get fixed elements working on webkit when CSS
transforms are enabled. The parent wrapper is indeed relative, but the
elements inside are set to position: fixed. If they're not, something
else must be going on.
On 12/12/2013 5:39 PM, Sergey Lyubka wrote:
That actually moves the element to the bottom of the page, cause fixedWrapper follows pageWrapper, and both have position: relative
Reply to this email directly or view it on GitHub:
#29 (comment)
from skel.
Just to add a note to this as I had the same issue and to make it clear for other people.
You have to add the following styles to the element your trying to position at the top:
position: fixed;
top: 0;
As far as I can see the class 'skel-panels-fixed' doesn't actually apply any fixed positioning to your elements its just a hook for the JS to setup the wrapper for fixed positioning. Please correct if thats wrong @n33
from skel.
Yup, that's correct. The class just tells panels to move it to the fixed
wrapper.
On 1/7/2014 7:58 PM, Giles Butler wrote:
Just to add a note to this as I had the same issue and to make it
clear for other people.You have to add the following styles to the element your trying to
position at the top:position: fixed; top: 0;
As far as I
can see the class 'skel-panels-fixed' doesn't actually apply any
fixed positioning to your elements its just a hook for the JS to
setup the wrapper for fixed positioning. Please correct if thats
wrong @n33--- Reply to this email directly or view it on GitHub:
#29 (comment)
from skel.
Thanks for confirming @n33 . I am experiencing one issue though, so I've created a navbar for a mobile site, the typical sort of one you see on all mobile sites e.g iOS app style header.
I have it set to 100% width and when I activate a side panel it jumps across the page rather than animating with the rest of the content. Is this a webkit issue or is it missing a transition somewhere?
Thanks
from skel.
Hmm. Try recreating it as an overlay (using the panels plugin).
On 1/7/2014 10:17 PM, Giles Butler wrote:
Thanks for confirming @n33 . I am experiencing one issue though, so
I've created a navbar for a mobile site, the typical sort of one you
see on all mobile sites e.g iOS app style header. I have it set to
100% width and when I activate a side panel it jumps across the page
rather than animating with the rest of the content. Is this a webkit
issue or is it missing a transition somewhere?Thanks
--- Reply to this email directly or view it on GitHub:
#29 (comment)
from skel.
That got it. Thanks @n33
from skel.
Related Issues (20)
- Skel and Wordpress HOT 3
- Skel 1.0:( HOT 1
- Cannot get css file
- Typo in scss
- request info
- Conditionals
- Cannot read property 'grid' of undefined in skel-layout HOT 3
- skel menu nav dont work on iphone 6
- Proper docs? HOT 6
- Sending email HOT 2
- Is it possible to set row height in Grid Layout?
- once deployed, click on link does not work
- https:// HOT 1
- grid offsets not working for some reason HOT 2
- Using Skel in a template
- Articles display before scroll is finished.
- Prioritizing a cell not working for small
- skel deprecetaed
- Skel-panels documentation
- request for ideas: modify collapsed menus in skel-layers.js
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 skel.