Comments (2)
Thanks for the report! Appreciate it, definitely a bug. Load order problems are always fun! I'll see if I can make a regression test for this and get a fix in!
from shoelace.
@alianam so the bug is a little more complex.
So for example <sl-select>
does something like this:
checkValidity() {
return this.valueInput.checkValidity();
}
Where this.valueInput
is rendered in the shadowRoot.
@claviska there's a couple ways we could handle this.
async checkValidity () {
await this.updateComplete
return this.valueInput.checkValidity();
}
This kinda breaks the contract though because checkValidity
is a synchronous function.
Of course there's the other option of moving to formAssociated custom elements. I guess the other option is to do the "virtualized" temporary element kinda like we do with valueAsDate
. Not 100% how we want to approach this.
from shoelace.
Related Issues (20)
- Tooltips obscured when used within a Tree HOT 1
- sl-dialog tabbing not working when a second sl-dialog is open HOT 2
- Tooltip screenreader issue: content read double, or not at all HOT 2
- Published React .d.ts files try to import from invalid `src` path
- Vue & Select binding is broken
- SSR compat via Lit's SSR module
- Multiple elements can be focussed if dropdown is expanded HOT 1
- [sl-spinner] Animation is broken at the very end HOT 4
- `sl-carousel` dots do not update on when you swipe on iOS HOT 4
- Color picker values not matching preview color when nearly white or black
- `sl-select` copies text content from slots
- Tooltips have a couple of accessibility issues HOT 3
- Wrong input width HOT 1
- Narrator is announcing Tab items present inside the 'Edit your manifest' dialogue as 'Group'.
- sl-input doesn't handle setRangeText in the same way as standard inputs do. HOT 2
- Content of tooltip not clickable HOT 1
- Dialogs do not allow focus in <iframe> and <video> elements HOT 7
- Cannot change internal role of sl-button HOT 3
- can't swipe to change slide on Android Firefox sl-carousel HOT 2
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 shoelace.