Comments (10)
Thanks Neil, I'll take a look asap!
from skeleton.
Absolutely, good luck with it, looks great, I love sveltekit and tailwindcss so this project will be a godsend for internal tools etc. Thanks for all the work so far!
from skeleton.
FYI Neil, I've pushed a potential fix for this issue to my in-progress QA branch: d19ad67
I'm going to let Thomas, our resident QA expert, give this a once over before I consider this complete. If I was a betting man I'd expect this to see this in a release later this week though. Thanks for your patience in the meantime!
from skeleton.
@endigo9740 - Looking into this now.
from skeleton.
Confirmed this will be fixed by the merge of d19ad67...
from skeleton.
Sorry for the double post, but updating to 0.30.5 or later this issue should now be resolved for you:
https://github.com/Brain-Bones/skeleton/releases/tag/0.30.4
https://github.com/Brain-Bones/skeleton/releases/tag/0.30.5
from skeleton.
I've been able to replicate the issue on my end. Seems it's a side effect of our use of Svelte's $$restProps
. This is a catch-all for miscellaneous properties so we don't have to specify every possible anchor or button attribute (ex: target, type, etc).
We experienced a similar issue that would occur on initialization of the component, but patched this in the last release. Unfortunately this fix doesn't extend to when a component prop updates, resulting in the unstyled component you're seeing.
I'm aware of about 5 components this bug may be affecting. I think it may be advisable for us to drop $$restProps
and find another means to handle miscellaneous attributes. That or take the whitelist approach and build up over time.
Working on a couple other things this week, but I'll try to swing back to this as soon as I can. Thanks!
from skeleton.
Thanks for the kind words!
Making a note for myself for a potential fix:
- If we add
class
as a prop for any component then it won't be includedrestProps
, which should be our fix. - This will mean we have two types of props: always declared (props) and potentially declared (restProps)
- This will supersede the need for the
delete
fix from last patch
from skeleton.
Merged: #50
from skeleton.
Thanks that's great will give it a whirl!
from skeleton.
Related Issues (20)
- Autocomplete: only visible items are reachable via tab when autocomplete is scrollable HOT 2
- NEXT Focus ring/border flashes white when switching focus HOT 3
- tabs vertical HOT 6
- Update README assets for Skeleton v3 HOT 1
- NEXT Doc Search HOT 7
- Package and doc issues to resolve HOT 3
- NEXT: Installation page misspells "configure" twice HOT 1
- Web site Theme Error On Arc HOT 3
- ListBox + Popup on a Modal HOT 5
- Tailwind v4 Oxide <--> Skeleton v3 HOT 6
- Chore: Add `environment info` request on bug tickets
- Standardize Dev Tooling and CI Pipelines HOT 15
- Some v2 doc images are not displaying HOT 1
- Integration: Data Visualization
- v3 Custom Theme Doc Errors
- v3 Tailwind > Gradients CSS button has broken link
- Review "RestProps" spread method for arbitrary attributes HOT 2
- v3 Switch Component - Quick Patch
- computed styles not being applied HOT 3
- Repeated word in Docs HOT 1
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 skeleton.