Comments (10)
This is the culprit in semantic-ui-css module node_modules/semantic-ui-css/semantic.css starting around line:34342
/* Left Visible */
.ui.visible.thin.left.sidebar ~ .fixed,
.ui.visible.thin.left.sidebar ~ .pusher {
-webkit-transform: translate3d(150px, 0, 0);
transform: translate3d(150px, 0, 0);
}
pusher
and fixed
classes don't like the translate3d because of the co-ordinate shift it causes.
I'll look into a fix.
from suicrux.
Hi @TheDolo, hm, I didn't consider it like an issue, but you're right this needs some research for users that are interested in fixed Header. I think it's an "enhancement", not a "bug". Will try to figure out what's the problem.
from suicrux.
Currently, fixed elements on desktop will not stay fixed and will scroll.
It's definitely a problem if the only fixed element allowed on the page is the sidebar!
Edit: if the page is too small for a scroll (no overflow), fixed elements work fine. So I'll insert a react custom scroll bar into a max height page for . now
from suicrux.
Oh, I just misunderstood your sentence, ok, I'll investigate this case with fixed elements on the page (desktop), haven't seen this problem before.
from suicrux.
@TheDolo you can use <Rail>
and <Portal>
components if you need to render something outside the main container. Probably, it can be used as a temporary fix until the better solution. Also, maybe in your case Portal/Rail is the best solution.
from suicrux.
Sorry, people. Not quite had the time yet. I suppose this is just a starter, really. As Metnew said - it'll work outside the main container but some styling tweaks with margins and padding will be required.
from suicrux.
Page structure was improved + react-headroom was added. Now anything can be fixed/statis/relative/etc. Anything supported.
from suicrux.
@Metnew it still doesn't work. Header (react-headroom) scrolls on desktop.
from suicrux.
Hm, ok, I'll take a look asap
from suicrux.
Not sure, but the possible root of the problem:
- missing
overflow-x
in<PageLayout>
component transform:0
(in SUI's.pushable
) breaks something.
I had a project where this feature works as expected. I'll take a look more detailed later
from suicrux.
Related Issues (20)
- Stuck at Login `auth` screen HOT 2
- NextJS integration HOT 9
- Basic Setup ? HOT 1
- The script has an unsupported MIME type ('text/html'). HOT 2
- Source Map Issue HOT 2
- sidebaritem titles are shown on header when page is refreshed HOT 6
- Deploying application with apache, frontend does not show... HOT 5
- Who's using Suicrux? HOT 9
- Roadmap [WIP]
- Eager to see Redux-Saga in this project HOT 1
- flow-typed install fails HOT 1
- Error Can't resolve 'react-tree-walker', while running "npm run dev" from master branch HOT 2
- Version 10 of node.js has been released
- static only? HOT 1
- Unable to debug in VSCode editor HOT 1
- An in-range update of webpack-hot-middleware is breaking the build 🚨 HOT 3
- An in-range update of babel-plugin-styled-components is breaking the build 🚨 HOT 1
- An in-range update of react is breaking the build 🚨 HOT 31
- An in-range update of enzyme is breaking the build 🚨
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 12
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 suicrux.