Comments (7)
Oh dang. Yeah, I do think browser compatibility is important. I based the decision on caniuse
https://caniuse.com/mdn-css_selectors_where
https://caniuse.com/mdn-css_properties_inset
Do you mind sharing the details of your system so I can double-check it? https://www.whatsmybrowser.org/
For now, you can stick to a previous version until I sort out a good approach forward :)
(Also, curious if you might share what projects you're using Vuetensils on?)
from vuetensils.
Thanks for the fast reply as always :-)
Here is the browserlist I'm using based on my client requirements:
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11",
"Chrome >= 81",
"Edge >= 81",
"ChromeAndroid >= 81",
"Firefox >= 75",
"FirefoxAndroid >= 68.7",
"Safari >= 13.1",
"iOS >= 13.1",
"Samsung >= 11.1",
"Opera >= 68"
]
Basically, iOS is often the bottleneck because Safari version is coupled with the OS version. I is not rare to have iOS13 for instance.
The problem is if :where
is not available, the whole selector is being ignored and there is in the end no CSS applied on Vuetensils component for browsers < 2021.
I'm unfortunately not allowed to share the work, but I can give you the stack we are using:
- Adobe Experience Manager monolith approach, DOM generated by the Backend.
- VueJs on the frontend with 1 Vue application per component as components can be added, edited, or removed dynamically from the page by an author.
- I'm using VDrawer, VToggle (I had to fork it), VAlert. I'm also considering "Try" which looks really great for async calls.
from vuetensils.
Yeah, that makes sense. Ugh, too bad because :where makes the specificity of the library so much better to deal with.
Why did you have to fork VToggle? I do try to make them easily forkable, so that's cool. VTry is pretty basic, but you should really checkout VAsync for async stuff. It's one of my favorites :) I'd like to figure out a composable for it as well, but the API is hard to get right.
from vuetensils.
Mostly at first because the Vue 3 version was not ready yet at the time. Then my project is in Typescript so I had to rework the component, and then I started to tweak it here and there (close on click outside, close on escape key, etc). Eventually, I tweaked too much the component to replace it back with yours when Vue 3 version was released 😅.
from vuetensils.
Cool. Well if any of it makes sense for to add to Vuetensils, let me know, or feel free to submit a PR.
from vuetensils.
Cool. Well if any of it makes sense for to add to Vuetensils, let me know, or feel free to submit a PR.
from vuetensils.
Just published a new version without :where
from vuetensils.
Related Issues (20)
- Intersect question: how to observe many child elements in v-for loop HOT 3
- [feature] - add complementary role to VAlert HOT 7
- Feature request? tree component? HOT 2
- Error "export 'version' was not found in 'vue' HOT 6
- Feature: Focusout HOT 2
- Import errors in Vue2 with Vite HOT 7
- [Vue warn]: Error in render: "TypeError: errors.get is not a function" HOT 5
- [Feature Request] allow localization of the buttons of the datepicker HOT 5
- [Feature Request] i18n HOT 1
- [Feature Request] VDate: allow inline usage HOT 3
- vue 3 support ? HOT 2
- Website docs don't show any examples anymore HOT 5
- VAlert dismissible doesn't work with scoped css HOT 5
- Vuetensils: TypeError: Object(...) is not a function HOT 5
- Drawer sliding animation HOT 4
- [Feature Request] Support Vue 2.7 by upgrading vue-demi to ^0.13 HOT 6
- Failed to resolve entry for package "vuetensils" HOT 3
- Input still has error styling after changing error conditions HOT 9
- Enable class customisation for individual notifications HOT 4
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 vuetensils.