Steps to Reproduce:
- Go to search page on commons.wikimedia.org.
- Expand the "Advanced search" row.
- Under "Pages in these categories", type "Cat", and accept the suggestion for "Cat" to make it bubble.
- Press backspace to remove the bubble.
The filter to be focussed to remove upon pressing backspace again or to be removed directly.
The bubble is replaced with the text "[object Object]".
- Browser: Firefox 74 (latest stable)
- OS: macOS 10.14.