Giter Site home page Giter Site logo

Browser compatibility about vuetensils HOT 7 CLOSED

lbineau avatar lbineau commented on September 1, 2024
Browser compatibility

from vuetensils.

Comments (7)

AustinGil avatar AustinGil commented on September 1, 2024

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.

lbineau avatar lbineau commented on September 1, 2024

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.

AustinGil avatar AustinGil commented on September 1, 2024

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.

lbineau avatar lbineau commented on September 1, 2024

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.

AustinGil avatar AustinGil commented on September 1, 2024

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.

AustinGil avatar AustinGil commented on September 1, 2024

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.

AustinGil avatar AustinGil commented on September 1, 2024

Just published a new version without :where

from vuetensils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.