Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyfill Intl.Segmenter for wider web browser compatibility #27803

Merged
merged 1 commit into from
Jul 23, 2024

Commits on Jul 23, 2024

  1. Polyfill Intl.Segmenter

    This fixes Element on older versions of Firefox by adding a Polyfill
    for Intl.Segmenter. The Polyfill is conditionally imported so it only
    inflates the initial bundle size by about 100 bytes. On browsers that
    need it, the polyfill is quite large at 317Kb.
    
    Users on these browser will still see the 'unsupported browser' screen,
    but will be able to click through to use the app anyway. This keeps the
    Intl.Segmenter modernizr check but this would also happen due to
    #27674
    dbkr committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    9f27685 View commit details
    Browse the repository at this point in the history