Skip to main content
Filter by
Sorted by
Tagged with
8 votes
2 answers
231 views

When selecting items programmatically in a ListView, I want the scroll to behave like native keyboard navigation — scroll only when the selected item is outside the visible area. Using listView....
SilverCube's user avatar
  • 1,288
1 vote
1 answer
95 views

I was using with satisfaction the snippet by @ChrisR from his post Carousel SwiftUI until I upgraded my iPhone and iPad to iOS26.2 In Chris' example I substituted the Coloured Rounded rectangles with ...
Simon W's user avatar
  • 166
0 votes
0 answers
75 views

I tried this style, but the scrollbar only shows up when I click on a button inside the container. Then when Streamlit reloads the page it's gone again. Any help appreciated. st.markdown(""&...
Maryna Longnickel's user avatar
1 vote
1 answer
99 views

I'm currently setting up a scrollable selection of options with the intent that, when the user stops scrolling, the one closest to the centre is properly centred. However it just doesn't seem to be ...
Ash's user avatar
  • 9,461
1 vote
0 answers
43 views

I am using a .NET MAUI CollectionView to display a list of items with variable heights. I have set ItemSizingStrategy="MeasureAllItems" and explicitly disabled snapping (SnapPointsType="...
Pratham Kamboj's user avatar
2 votes
1 answer
94 views

Within a large Java project I'm trying to display lengthy text in a custom JDialog. I would like to start showing the text from the beginning when the dialog shows up, however, I can only manage to ...
trowek's user avatar
  • 159
0 votes
1 answer
84 views

I have the following use case in Flutter: Column( children: [ widget1,//image of known height widget2,//image of known height widget3,//large height widget with unknown height ] ), If ...
Petre Enciu's user avatar
2 votes
1 answer
60 views

I have three expandable vertically stacked cards positioned in a flex layout below a fixed sticky header. Requirements: It would be nice to have scroll snap feature, so that scroll snaps to the top of ...
Vasilije Bursac's user avatar
-1 votes
1 answer
218 views

I'm building a chat screen using Jetpack Compose with a LazyColumn. During loading, I show a shimmering placeholder with a large height. Once the real data arrives, the content shrinks because the ...
Fazle Rabbi's user avatar
0 votes
1 answer
182 views

In a windows console application I want to add a TUI (Terminal User Interface). I want to create some tabs. In a tab I want to show the logs of the application, so there must be many lines, I can ...
Jepessen's user avatar
  • 12.8k
0 votes
0 answers
202 views

I'm building a chat interface where AI responses are streamed chunk by chunk (similar to ChatGPT). The current implementation automatically scrolls to the bottom as each chunk arrives, which works ...
user29255210's user avatar
Best practices
0 votes
2 replies
119 views

I wish to display in an html page and control its scrolling, the image of a pdf hosted on a server. I am currently using Mozilla’s pdf.js scripts, which work well for pdf files stored on my computer. ...
jean-marie Detrey's user avatar
0 votes
0 answers
100 views

Firstly yes I know everyone hates scrolljacking, me too, but the decision's out of my hands and now I need to make the best I can of it. Unfortunately no matter what I try so far I can't get the ...
DishiestAlarm's user avatar
2 votes
1 answer
149 views

I found this example on a website, but neither event is triggered, even though the code appears to be correct. import javafx.application.Application; import javafx.scene.Cursor; import javafx.scene....
Adalberto J. Brasaca's user avatar
0 votes
0 answers
33 views

I have a solution with a row of items, scrollable horizontally, which is working fine everywhere, but when I scroll vertically over that row on my iPad with the trackpad, the scrolling stops and it ...
Henrik Lindqvist's user avatar
0 votes
1 answer
229 views

I'm building a website using Flutter Web, but when I scroll using the mouse scroll wheel, it doesn’t feel smooth it’s kind of laggy or jumpy compared to websites built with React or standard HTML/CSS. ...
OM BELEKAR's user avatar
0 votes
2 answers
106 views

My code here scrolls up smoothly but I want each word to pause in the middle for a second before scrolling to the next word while keeping the infinite loop? <div id="scroll-container"> ...
Michelle Joy Reyes's user avatar
2 votes
4 answers
159 views

I have a webview iframe inside a parent web. The webview is scrollable. My problem is when scroll to the bottom of webview, if you still scroll the mouse, the parent content is also scrolled. What I ...
Van Minh FPT's user avatar
0 votes
0 answers
84 views

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 ...
Ayan Upadhaya's user avatar
3 votes
2 answers
139 views

The following is a css flex box inside a scroll container. The scroll container has left and right padding however with flex-wrap set to no-wrap, padding-right is ignored. This is presumably because ...
Walrus's user avatar
  • 20.6k
2 votes
1 answer
201 views

I am creating a website for my business using shopify, nothing too fancy. I am trying to recreate a fun scrolling effect I noticed on : https://www.highsnobiety.com/ The "highsnobiety New York&...
TLLLL's user avatar
  • 23
0 votes
1 answer
113 views

I have a mat-table in my app (angular v20) that is loading a longer list. If an additional ID is provided, I would like to scroll to that ID in the table. My problem is that I didn't find the right ...
smcoder's user avatar
  • 27
1 vote
1 answer
119 views

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=...
Alejandro Guajardo's user avatar
0 votes
0 answers
70 views

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 ...
Cainã Perotti Barbosa's user avatar
0 votes
0 answers
109 views

I built a zig-zag horizontal scrolling timeline with HTML, CSS, and JavaScript. It works fine as a standalone HTML file, but when I add it inside Elementor (WordPress) using the HTML widget, the ...
Bhavnesh Bhoir's user avatar
0 votes
0 answers
41 views

I have a scrollable product page with a button opening a panel taking 100% of the width and height on mobile. In this panel there is an input at the top. when focused and with the keyboard opened, I ...
Maelle Aber's user avatar
0 votes
2 answers
137 views

I’m running into an issue with window.scrollTo on iOS Safari. On desktop browsers (Chrome/Firefox/Edge), this works as expected: window.scrollTo(0, document.body.scrollHeight); Even when resizing the ...
Mateo Callec's user avatar
0 votes
1 answer
92 views

I'm seeing an issue where ion-refresher fires whenever I scroll down, even when the content isn't at the very top. This only happens when the page uses ion-segment-view. If I remove ion-segment-view, ...
AlessioF's user avatar
  • 453
0 votes
0 answers
55 views

I'm setting a click function to open a tab but on click it scrolls the page down which I don't want to happen. How can I stop the scroll? $(window).bind("load", function() { if ($('.feefo-...
totneschap's user avatar
0 votes
0 answers
62 views

The popup opens when you focus the TextInput. Then you can search for a country, but the list that shows all the found countries isn't scrollable. I've tried countless things, but none of them work. I ...
the lenny dragon's user avatar
1 vote
0 answers
67 views

I’m using jQuery Stellar to create a parallax hero at the top of the page. // parallax initialisation $(window).stellar({ responsive: true, parallaxBackgrounds: true, parallaxElements: true, ...
lordlaurent's user avatar
0 votes
1 answer
109 views

I’m trying to add virtual scrolling to a long list that uses SimpleBar for custom styling. With the native scrollbar the technique works: I create a very tall invisible spacer (.sizer) to give the ...
red X's user avatar
  • 15
0 votes
1 answer
63 views

In my Vue app, I'm using JointJS to create a process diagram. Everything works fine on Chrome - both locally and in the testing environment. On Safari, it also works fine locally, but after being ...
Przemek Baj's user avatar
0 votes
1 answer
134 views

What I'm trying to achieve is to have a section on my website with text on the left and multiple images on the right. I want these images to scroll vertically while the text remains stationary. The ...
Ashutosh Pradhan's user avatar
0 votes
0 answers
215 views

I'm using ApexCharts in an Angular application, specifically inside a Metronic KeenThemes dashboard widget. I've enabled zoom with the mouse wheel using the following chart options: chart: { zoom: { ...
Niklas Haider's user avatar
0 votes
1 answer
86 views

I adapted this wonderful photo layout. I wanted to implemented a max height and make it scrollable. Then, I wanted to set scroll bars to always visible to indicate that there is content to scroll. ...
scribe's user avatar
  • 876
0 votes
0 answers
165 views

I'm facing an issue in my Flutter desktop app for Windows when scrolling through a list with items of different heights. When I drag the scrollbar, it noticeably lags behind the mouse cursor and ...
Eugenio Uglov's user avatar
0 votes
1 answer
444 views

I'm embedding MP4 videos in a responsive layout using HTML/CSS. The videos appear clean in the source file, but a thin black line shows up along certain edges (sporadic appearance, sometimes also ...
swayamtests's user avatar
0 votes
1 answer
57 views

I am trying to create a list of cards representing categories and I opted to use a custom widget instead of the provided Card widget so I can use images and apply rounded borders to them and I found ...
Sh00tthem's user avatar
0 votes
2 answers
250 views

I'm trying that the Android app remembers in which position of the screen the user left it off, so they can carry on when they move back and forth in the app. I'm looking for the simplest way (ideally,...
Akronix's user avatar
  • 2,235
4 votes
1 answer
154 views

I’m building a scroll effect where .logo and .content elements inside .container blocks use position: sticky and also receive scroll-based top position adjustments using jQuery. The goal is to keep ...
S.M.Rejuanul Islam's user avatar
1 vote
2 answers
142 views

I have a one-page site with five fullscreen 'Problem' cards (#problems) and a fixed 'Solution time' section (#solutions). When the user scrolls past Problem 5, a circular mask should grow from the ...
Marius Lutter's user avatar
0 votes
1 answer
63 views

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. ...
Phoenixlaw9's user avatar
0 votes
0 answers
22 views

I'm using Highcharts to draw a waterfall (values in delta) and when I add a scrolling X axis, there is a bug in the drawing when I begin to scroll. The X Axis setting to add the scroll mode is the ...
vegaelce's user avatar
  • 153
2 votes
2 answers
79 views

Granted, I probably use the drag event in a way that is not intended. But I want to make a window scrollable by just "dragging" a non-draggable element. So my drag function looks like this: &...
Simon Ferndriger's user avatar
1 vote
0 answers
46 views

My problem: In this script the do_translation is working. The do_scale does not work. The scrolling and scale interfere with each other. If I change the ‘do_scroll_y’ to False the do_scale works fine, ...
sybe's user avatar
  • 53
0 votes
0 answers
18 views

I am trying to scroll through a React native TextInput that's multiline, but when I expect it to just scroll through the text without keyboard appearing, the keyboard appears, scroll is sticky and ...
Jake Matthews's user avatar
0 votes
0 answers
22 views

I'm trying to add an extra class at my header to change the logo on scroll. I used the tutorial mentioned in the code as a guide and that works in MAMP (local) but not online. Local it does add the ...
Hanneke's user avatar
0 votes
0 answers
58 views

I am building a discord-like instant messaging chat app and I am looking for a solution to scroll down to the bottom of a components view in a "channel" component. The component contains ...
IngoHe's user avatar
  • 141
-1 votes
1 answer
64 views

I am able to make this div move right when scrolling but i want its position to be fixed while scrolling before it has reached its end position. The problem I am having is that when I scroll further ...
TasneemManga's user avatar

1
2 3 4 5
436