KeyboardEvent: repeat property

Baseline 2025
Newly available

Since May 2025, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The repeat read-only property of the KeyboardEvent interface returns a boolean value that is true if the given key is being held down such that it is automatically repeating.

Value

A boolean value.

Specifications

Specification
UI Events
# dom-keyboardevent-repeat

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
repeat
Chrome – Partial support
Chrome 32 – 136 (Release date: 2014-01-14)
footnote Partial support
footnote On Windows and Linux, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Chrome – Full support
Chrome 137 (Release date: 2025-05-27)
footnote
footnote Before Chrome 139, on Linux under X11, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Edge – Full support
Edge 12 (Release date: 2015-07-29)
footnote Full support
Firefox – Full support
Firefox 28 (Release date: 2014-03-18)
footnote Full support
Opera – Partial support
Opera 19 – 120 (Release date: 2014-01-28)
footnote Partial support
footnote On Windows and Linux, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Opera – Full support
Opera 121 (Release date: 2025-08-27)
footnote
footnote Before Opera 123, on Linux under X11, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Safari – Full support
Safari 10.1 (Release date: 2017-03-27)
footnote Full support
Chrome Android – Partial support
Chrome Android 32 – 136 (Release date: 2014-01-15)
footnote Partial support
footnote On Windows and Linux, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Chrome Android – Full support
Chrome Android 137 (Release date: 2025-05-27)
footnote
footnote Before Chrome Android 139, on Linux under X11, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Firefox for Android – Full support
Firefox for Android 28 (Release date: 2014-03-18)
footnote Full support
Opera Android – Partial support
Opera Android 19 – 89 (Release date: 2014-01-28)
footnote Partial support
footnote On Windows and Linux, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Opera Android – Full support
Opera Android 90 (Release date: 2025-06-18)
footnote
footnote Before Opera Android 91, on Linux under X11, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
Safari on iOS – Full support
Safari on iOS 10.3 (Release date: 2017-03-27)
footnote Full support
Samsung Internet – Partial support
Samsung Internet 2 (Release date: 2014-10-17)
footnote Partial support
footnote On Windows and Linux, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
WebView Android – Partial support
WebView Android 4.4.3 – 136 (Release date: 2014-06-02)
footnote Partial support
footnote On Windows and Linux, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
WebView Android – Full support
WebView Android 137 (Release date: 2025-05-27)
footnote
footnote Before WebView Android 139, on Linux under X11, if multiple keys are held down, a keydown event for the most recently pressed key will trigger with repeat incorrectly set to false. See bug 40940886.
WebView on iOS – Full support
WebView on iOS 10.3 (Release date: 2017-03-27)
footnote Full support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
See implementation notes.
Has more compatibility info.