2,025 questions
2 votes
2 answers
91 views
Can I use CSS to make the top edge of a footer element stick to the bottom edge of the page, without hardcoding its height?
I am working on a website that has a footer element with decorations attached to its top edge in both ::before and ::after pseudo-elements (extending outside the footer element's bounding box), and I ...
Advice
1 vote
5 replies
96 views
Using slivers to position nested widget always on top of parent
This is a follow-up question to: Position subwidget always on top of VISIBLE part of parent and its awesome answer https://stackoverflow.com/a/79389226/3984221 The mentioned answer gave the hint for ...
5 votes
1 answer
153 views
How to make the header of a horizontally scrollable table sticky?
Let's assume having a simple layout with a fixed header and a scrollable main container. Within the main content I would like to render a table (horizontally scrollable) with a sticky header. How is ...
0 votes
1 answer
62 views
Sticky or fixed HTML elements are occluded on mobile browsers when address bar changes size
HTML elements affixed to the top of the page using CSS position property set to either fixed or sticky can often work just fine on desktops, but mobile web browsers behave vastly differently due to ...
4 votes
1 answer
122 views
Can I use theia sticky sidebar without jquery?
Theia Sticky Sidebar not working without jQuery — CDN serves raw JS (v2) but my code expects jQuery v1 — how to migrate or fix? I'm trying to use Theia Sticky Sidebar on a site where I replaced jQuery ...
0 votes
0 answers
78 views
Parallax effect between sections and Scrolling issue
I am working on a landing page using react and tailwind. You have a sticky navigation where you click links then view scrolls to that particular section which connected to the link because section has ...
1 vote
2 answers
133 views
CSS View Transitions - sticky element position is set to top = 0 during transition on chrome mobile
I'm trying to keep a position: sticky navbar in the same position during view transition as it was before the transition started but for some reason it jumps to the very top of the page. The issue ...
1 vote
1 answer
106 views
Is possible to skip one scroll context for a position sticky element?
There is a way in css to specify relative to which scroll context a position sticky element should be floating? <div class="main"> <div class="row"> <div class=...
0 votes
0 answers
58 views
Make sticky elements that "unstick" once the content of the scrolling container is over?
I’m building a chat-like layout in React. Each MessagePair contains: HorizontalResponseOptions: fixed height, never overflows. Response: has max-height and overflow-y: auto. As the user scrolls the ...
10 votes
0 answers
3k views
iOS 26 Safari visualViewport change after dismissing keyboard [closed]
I have been struggling with an issue in Safari from iOS 26. Whenever I dismiss the keyboard and scroll a little bit, the viewports's top is 24px above the upper visible screen edge. I found a similar ...
0 votes
0 answers
56 views
Tabulator sticky subheader row not staying fixed while scrolling large data (1500+ rows+ 200+ columns) without virtual DOM
I'm using Tabulator (v5.x) in a React (Next.js) app to render a large data table (~1500 rows × 200 columns). I’ve disabled Tabulator’s internal virtualization using: virtualDom: false and instead, I’m ...
0 votes
0 answers
32 views
position: sticky CSS doesn't work - simple example [duplicate]
Position: sticky CSS doesn't work in this simplified example. What's wrong with it? .container { position: sticky; top: 20px; z-index: 10000; padding: 10px; background-color: green;...
-1 votes
1 answer
89 views
Position: Sticky has no effect
Trying to understand why my header element won't stick. The parent is the body element, no overflow set as far as I can tell. The body has height, my header element is not stretched and should have ...
0 votes
1 answer
59 views
Scroll behavior to be element over the element
When scrolling I am using Sticky to solve but still not working perfect how I can achieve like this behavior. If there is plugin to solve this I open for this option. I'm using jQuery / vanilla js. ...
0 votes
0 answers
54 views
How to make stacked sticky headers replaceable by the latest one?
Question: How to make stacked sticky headers replaceable by the latest one? I am trying to show a list of events for the days of calendar to my users. I near to finishing the view, but I am stuck in ...