Comments (8)
is this the case with overflow: hidden
too?
from sbox-issues.
just tried it, still persists with overflow: hidden
applied on both the panel and it's parent
from sbox-issues.
Seems to work fine at any value above 0 by any slight amount, top one has a width of 0px and bottom .1px
from sbox-issues.
Is there any news on this bug?
from sbox-issues.
I'll take a look today
from sbox-issues.
You're going to have to give me some code to replicate this. Setting Width to 0 for me sets the width to 0.
Possibly related to transitions?
from sbox-issues.
My original issue seems to have fixed itself at some point, here's the same code on a build from 24 April and the latest build using the code:
<div style="position: absolute; left: 32px; top: 50%; background-color: black; border-radius: 8px; width: 200px; height: 32px;">
<div style="background-color: rgba(white, 0.2); width: 0%; height: 100%;"></div>
</div>
Old:
Latest:
Not sure if you've tried the same code recently @louiefox ?
from sbox-issues.
Oh my bad, this issue with the width was kinda fixed it seems, the issue I saw the other day was the box shadow still does the negative width issue.
The blue bit is the box shadow for a panel with 0 width and a background color of red, so its just the box shadow now.
from sbox-issues.
Related Issues (20)
- Steam Timeline Api HOT 1
- Composite format string alignment component doesn't work with in-game console
- Creating a terrain from a height map, saving scene, then re-opening that scene later causes the editor to hang
- Setting Transform.Rotation on a rigidbody in fixed update (sometimes in update too) will cause physics to hang. HOT 2
- [Sbox Weapons] Bone merging with Citizen is broken.
- Support Guid parameters in ConCmd methods
- Exception when clicking on Guid in editor console
- Tags from Hammer maps do not carry over to scene HOT 2
- Project collision rules get reset every time you launch the editor HOT 1
- Library Manager "Remove" button needs a confirmation popup
- SceneModel bone transforms reset on bodygroup change HOT 3
- GameObject prefabs PrefabInstanceSource property should not be null
- [Action Graph] `An unhandled exception occurred, please report this.` HOT 3
- [Terrain] Unclear error when importing splatmap
- Let developers mark events in Steam's new video recording feature HOT 1
- "Hidden" banner not styled correctly in s&box main menu
- [UI] backdrop-filter no longer affects other razor components HOT 4
- ReadOnly doesnt work with lists, dictionaries and enum properties HOT 3
- Default surface types do not have the right file paths for sounds HOT 2
- ConVar causes crash if the output is not the exact same as the input. HOT 7
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 sbox-issues.