dialog-polyfill VS caniuse

Compare dialog-polyfill vs caniuse and see what are their differences.

dialog-polyfill

Polyfill for the HTML dialog element (by GoogleChrome)

caniuse

Raw browser/feature support data from caniuse.com (by Fyrd)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
dialog-polyfill caniuse
8 394
2,432 5,513
0.2% -
0.0 9.5
3 months ago 8 days ago
JavaScript JavaScript
BSD 3-clause "New" or "Revised" License Creative Commons Attribution 4.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dialog-polyfill

Posts with mentions or reviews of dialog-polyfill. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-11.
  • The <Dialog> Element
    4 projects | news.ycombinator.com | 11 Feb 2023
    > - Z-index has no effect in the top-layer. No need to compete for a higher z-index.

    This is the kind of boring feature that can end up saving huge amounts of developer time. Z-indexing in CSS is kind of annoying and I've seen projects just detach dialogs from their normal position in the DOM entirely to get around stacking errors before.

    ----

    Minor question:

    > - There is only one `top-layer` but it can have many children. Last opened === current element on top.

    Is this true? The spec says:

    > The top layer is an ordered set of elements, rendered in the order they appear in the set. The last element in the set is rendered last, and thus appears on top.

    I'm still playing around with `dialog` elements, so you may well be right, I'm just having trouble finding the actual spec rules about what happens when there are multiple dialogs and they're being simultaneously manipulated.

    ----

    > - Not supported in Safari <= 15.3

    Worth noting that there is a polyfill (https://github.com/GoogleChrome/dialog-polyfill), but that the polyfill comes with some fairly large limitations, specifically that they don't advise dialogs be used as children of elements with their own stacking context.

    This is reasonable, but also... my first thought when I originally ran into `dialog` was "finally I can stop worrying about which of my elements create new stacking contexts!" -- so it does decrease the usefulness quite a bit.

  • La espera terminó: el elemento <dialog> alcanza pleno soporte
    1 project | dev.to | 19 Apr 2022
  • Is learning Vue instead of React a mistake?
    2 projects | /r/learnjavascript | 12 Apr 2022
    Yeah, Safari is pretty often behind the other popular browsers. But, you can generally predict that by looking for any given feature on MDN and check the "Browser compatibility" section. Sometimes, there are polyfills available that sort of "force" a feature to work across every browser.
  • Can we use &lt;dialog&gt; yet?
    1 project | /r/webdev | 20 Mar 2022
    (Searching for "polyfill " will usually get you good results - in this case the first result appears to be a library maintained by the Chrome team: https://github.com/GoogleChrome/dialog-polyfill )
  • New WebKit Features in Safari 15.4
    7 projects | news.ycombinator.com | 14 Mar 2022
    This does not make sense. Of course new functionality won't work on old browsers.

    is easy to polyfill well: https://github.com/GoogleChrome/dialog-polyfill
  • Just a single tag can create this dialog box. &lt;dialog&gt; tag with open attribute created this simple styled centered box. =&gt; &lt;dialog open&gt;This is a dialog box&lt;/dialog&gt;
    1 project | /r/webdev | 13 Jan 2022
    GoogleChrome / dialog-polyfill
  • Using for Menus and Dialogs Is an Interesting Idea
    4 projects | news.ycombinator.com | 24 Apr 2021

caniuse

Posts with mentions or reviews of caniuse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Caniwebview.com – Like Caniuse but for Webviews
    7 projects | news.ycombinator.com | 7 May 2024
    Can I X, is a question about the readiness/compliance of a certain thing at time = now. Can I use CSS version X was the iconic early meme.

    https://caniuse.com/?search=css3

    For a generalized example, if you wanted to know if the basketball courts were ready for you to “ball it up” in a certain city, it’d be caniball.com

    If you want to know if you can use a certain frontend technology, the idea is like: canwefigma?

    It’s a glorified feature matrix, and usually a project of a passionate community. I approve, even if some of the memes are a bit dank.

  • Caniemail.com (like caniuse but for email content)
    3 projects | news.ycombinator.com | 6 May 2024
    https://caniuse.com/ is a popular tool to check what web features are working across different browsers - "can you use this and assume that it will work for others".
  • Time-Based CSS Animations
    3 projects | news.ycombinator.com | 5 May 2024
    The article uses custom css @properties which are awesome and have 88% browser support [1].

    One thing to watch out for is differences in how browsers handle setting the fallback initial-value. Chrome will use initial-value if CSS variable is undefined OR set to an invalid value. Firefox will only use initial-value if the variable is undefined. For most projects, this won't be an issue, but for a recent project, I ended up needing to use javascript to set default values in Firefox to iron out the inconsistency between browser implementations.

    [1] https://caniuse.com/?search=%40property

  • CSS Text Box Trim
    2 projects | news.ycombinator.com | 3 May 2024
    Safari is the only browser that doesn't support extending HTML element

    https://caniuse.com/?search=Custom%20Elements

  • JavaScript is not single-threaded
    1 project | news.ycombinator.com | 20 Apr 2024
    You forgot to mention (Web)Workers. This is explicit creation, management, and communication with additional threads within JavaScript. What's more, they've been around in JavaScript longer than the V8 engine has even existed!

    https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...

    https://caniuse.com/?search=webworkers

  • Show HN: Render audio to HTML canvas using WebGPU
    5 projects | news.ycombinator.com | 15 Apr 2024
  • Tree-shaking, the horticulturally misguided algorithm
    6 projects | news.ycombinator.com | 13 Apr 2024
    Do you happen to know where can I check out the cutoff version for each browser? https://caniuse.com/?search=wasm doesn't have it (or other things like WasmGC for that matter)
  • Le saviez-vous ? :focus :focus-within :focus-visible
    1 project | dev.to | 12 Apr 2024
  • 10 Websites Every Web Developer Should Bookmark
    2 projects | dev.to | 30 Mar 2024
    (https://caniuse.com/) A handy tool for checking the browser compatibility of HTML, CSS, and JavaScript features. Can I Use provides up-to-date support tables for various web technologies across different browsers.
  • SASS is dead? CSS vs SASS 2024
    1 project | dev.to | 23 Mar 2024
    Caniuse

What are some alternatives?

When comparing dialog-polyfill and caniuse you can also consider the following projects:

a11y-dialog - A very lightweight and flexible accessible modal dialog script.

browserslist - 🦔 Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env

sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development

caniemail - Can I email… Support tables for HTML and CSS in emails.

kill-sticky - Bookmarklet to remove sticky elements and restore scrolling to web pages!

postcss-preset-env - Convert modern CSS into something browsers understand

autoprefixer - Parse CSS and add vendor prefixes to rules by Can I Use

modern-css-reset - A bare-bones CSS reset for modern web development.

webmidi-test - 🎵 Web MIDI Test page with basic device hotplug support

modern-normalize - 🐒 Normalize browsers' default style

devadvance

Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine