<!-- Every pull request closes at least one issue. One line per issue: -->
Closes #

## What changed

<!-- For several issues, list the changes under each issue number. -->

## How it was tested

- [ ] `npm run build`, `npm test` and `npm run size` pass
- [ ] Tried in the demo (`demo/index.html`) or on the website (`npm run site`, then `_site/`)
- [ ] Checked with the keyboard, and with touch or a narrow window if the change affects them
- [ ] Tested in at least two browsers (Chromium plus Firefox or Safari)
- [ ] Documentation updated (README and `site/docs.html`) if options or behaviour changed
- [ ] No changes to `dist/`, `CHANGELOG.md` or version numbers

<!--
Will merging this make a release? Only if it changes src/. Website, docs and
CI changes make no release. The version goes up by a patch; a maintainer adds
the label "release: minor" or "release: major" for more.
-->
