4,086 questions
0
votes
1
answer
62
views
Update zIndex based on scroll position in ScrollView
This code shows a cover-flow-style view where you can scroll through the images in a Scroll View, while the images itself come from an array. The spacing is -100 to let the other pictures not in the ...
0
votes
1
answer
35
views
Incorrect zindex calculation when dragging
I'm trying to drag a group of elements and I want the element to be on top of all other elements in the group when I drag it. I'm trying to change the zIndex of the dragged element but for some reason ...
0
votes
0
answers
22
views
Make my Chrome extension popup be behind Google translate extension popup and before YouTube header
I have installed Google Chrome Translate extension where when I select word or phrase small icon is showed that when clicked opens up small popup with translation on that place on the screen. I made ...
1
vote
1
answer
32
views
Weird CSS z-Index behavior on iOS browsers
Problem
I'm trying to replicate the iOS behavior of native apps, where a search box remains in view (merges with top bar) after the user has scrolled. The header is fixed and only the main content is ...
0
votes
0
answers
16
views
Why is `z-index` not working inside a sticky parent element? [duplicate]
I have a sticky parent container.. and I want a child element to have a higher z-index to appear above other content. However, it does not work..
Even with z-index: 9999, the .child element stays ...
-3
votes
1
answer
61
views
Show cameraView from subView
This question is about displaying a camera view in a subview as opposed to the main self.view.
According to AI, it should be possible to display it in a subview as long as the subview is in the view ...
-1
votes
1
answer
119
views
WPF: WebView2 is always on top [closed]
I am playing around in WPF and want to display a PDF file. For that, I use WebView 2. It displays my file without a problem.
The only problem I am facing with it is that it stays on top of every other ...
-1
votes
1
answer
59
views
Why is my position: absolute element not being displayed over my body?
/* Main Content Styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', serif;
}
body {
background-color: var(--primary-color);
height: 100vh;
padding: ...
0
votes
1
answer
29
views
Custom Carousel Z-Index issue - Active Slide in Front of Background Box
I am building a React-based carousel component where:
The active slide should be in front of a red background box.
The inactive slides (i.e., all other images in the carousel) should stay
behind the ...
-1
votes
2
answers
38
views
Fixed div hides elements with higher z-index
I want to show a mobile menu that is displayed full screen and hides all the content except the page logo and hamburger menu icon. The following is my test code, note that it also hides the page logo ...
0
votes
0
answers
126
views
How to place canvas under Openlayers layers with web workers
I am working on a project using OpenLayers with Vue3, where I have a map containing layers with features. Additionally, I have a canvas that I frequently draw on.
I need the canvas to be positioned ...
0
votes
1
answer
31
views
Lesser z index of absolutely positioned image not being hidden behind other page section elements
there is an image which I want in the background of the hero section. I want it to be hidden behind several elements. The z-index property doesn't seem to be working, as I tried increasing z indexes ...
1
vote
1
answer
58
views
Ngx-Bootstrap Popover Problem Doesn't Appear on Top of Other Elements
I am trying to add a popover to a Ngx-bootstrap input form. I want the popover to appear over the top of the input fields below the input field the popover explains. When I click on the input field, ...
1
vote
1
answer
42
views
CSS Stacking Context Issue: Nested Element Overlapping Parent's Sibling Element
I was learning about stacking context and then I wanted to give it a try and test what I had just learned.
As I have understood, z-index works only on those elements that are inside a stacking context ...
0
votes
1
answer
60
views
How to make Header and Sidebars sticky in a layout while scrolling text appears below them?
I am building a React application where I have multiple components like Header, LeftSidebar, RightSidebar, and Home. I am using a Layout component to wrap these components (e.g., LeftSidebar and ...