Comments (6)
Basically, controls should always be on top so they are not hidden, and "floated" blocks should appear at a higher z-index than normal flow blocks.
from gutenberg.
Fixing this can quickly lead into z-index hell 😉
from gutenberg.
@jasmussen had some thoughts on this. Seems just bumping z-index for floated content would be fine :)
from gutenberg.
They can then overlap controls of another element due to the higher z-index. So we will want to probably have all controls at a z-index of 3, and any "floated" content have a z-index of 2 for now.
from gutenberg.
@jasmussen had some thoughts on this. Seems just bumping z-index for floated content would be fine :)
Copying from Slack:
this would probably work pretty well if we could z-index the image on top, and perhaps add a white border so it "cuts through" the paragraph block border
They can then overlap controls of another element due to the higher z-index. So we will want to probably have all controls at a z-index of 3, and any "floated" content have a z-index of 2 for now.
Can you elaborate? You'll only ever see the block outlines and formatting controls of any one selected block at any one time, in this prototype.
from gutenberg.
You'll only ever see the block outlines and formatting controls of any one selected block at any one time, in this prototype.
Yes, so if you have the controls of the element that is not z-indexed higher active, ( inline controls, adding a new block controls, etc. ) potentially the "floated" content with a higher z-index covers it. Just came across it, while goofing around with the editor and fixing the z-index. Controls quickly became covered by the new higher priority z-index block.
from gutenberg.
Related Issues (20)
- <dfn>...</dfn> Created by Editing a Block as HTML Lost upon Save and Reload HOT 1
- [wordpress/scripts] 5 high severity vulnerabilities
- Small Typo in experiment-page.php
- Discussion in the side menu did not receive translation HOT 1
- #Guttenberg HOT 1
- Homepage: Posts page & static home page in the Site Editor HOT 1
- When set to a static page "Edit site" should open the assigned homepage HOT 2
- Update the “Edit site” admin bar control to open the Site Editor at the top-level, consistently HOT 30
- DocumentBar: Use home icon and label for default "Your latest posts" setup
- When viewing the posts page, “Edit page” control should open the template HOT 1
- Posts page should directly editable in the Site Editor HOT 1
- [Flaky Test] should select title if the cursor is on title HOT 1
- New block editor z-index issue. Link options are hidden at the bottom of the page HOT 3
- Publicly expose `useGlobalStyle` hook HOT 8
- Spacer block: unlabeled Range and Input controls
- Grid blocks cannot be called with English block names using '/' in Japanese environment HOT 1
- Query Loop: add ability to define (toggleable) custom filters HOT 2
- Inconsistent spacing in zoom out vertical toolbar
- Font size picker: fix translatable strings and accessibility
- Query Loop block: allow certain aspects of a query to be changed without losing permalink structure HOT 3
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 gutenberg.