Automattic / Automattic/harper

Double-shift keybind is single-shift on some pages

Open
#1,643 4 comments 0 reactions 0 assignees View on GitHub
bug firefox-plugin
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
102

Description

**Describe the bug**
I'm trying to edit a page on the Warframe wiki, and all the markup is making Harper throw tons of errors. I can't type any markup myself tho, because every time I press `shift` it pops up the harper overlay and swallows my shift.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://wiki.warframe.com/ (or likely any other https://weirdgloop.org/ wiki)
2. Create an account (no email required) and edit a page.
3. Try to type special characters in the editor
4. Notice that Harper pops up the overlay on the first shift instead of the second.

**Screenshots**
Can't really screenshot this kind of behaviour.

**Platform**
Browser

**Additional context**
I've tried [wikipedia.org sandbox](https://en.wikipedia.org/wiki/Wikipedia:Sandbox) editor or the [mediawiki sandbox](https://www.mediawiki.org/wiki/Project:Sandbox) and neither have this problem.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Reproduce the behavior while editing wiki.warframe.com and compare it with the Wikipedia and MediaWiki sandboxes, then trace the overlay's Shift shortcut handling. Done means the overlay opens only on the second Shift and special-character markup can be entered normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.