WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
306779
discord.com: Formatting menu is way above text box
https://bugs.webkit.org/show_bug.cgi?id=306779
Summary
discord.com: Formatting menu is way above text box
joanne_pan2
Reported
2026-02-02 10:02:10 PST
Steps: 1. Visit discord.com (discord.com/login) [Otherwise it offers App to download] 2. Sign in 3. Type some text 4. Select text Notice that the formatting menu is way above the text box, almost unnoticeable. The formatting menu does not show up on 22G100.
rdar://162719481
Attachments
Test Case
(3.09 KB, text/html)
2026-02-03 16:11 PST
,
joanne_pan2
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2026-02-03 16:02:35 PST
<
rdar://162719481
>
Karl Dubost
Comment 2
2026-02-03 16:07:56 PST
It would be great to have a test case reduction.
joanne_pan2
Comment 3
2026-02-03 16:11:25 PST
Reposting for Bugzilla: The bug reproduces outside of Discord with a plan <input> element. <getBoundingClientRect()> returns incorrect coordinates when iOS keyboard is open. I’ve attached a test case. Test case reproduction steps: 1. Open the test case in Safari on iOS 2. Tap the input field to open the keyboard 3. Observe the red dot position Expected: The red dot appears at the top edge of the input field (where getBoundingClientRect().top reports it to be) Actual: The red dot appears far above the input field when the keyboard is open, demonstrating that getBoundingClientRect() returns coordinates that don't match the element's visual position on screen. Note: This issue does not occur on Android. The red dot remains correctly positioned at the input's top edge when the keyboard is open, indicating that Android browsers correctly account for the keyboard when calculating bounding client rect coordinates.
joanne_pan2
Comment 4
2026-02-03 16:11:48 PST
Created
attachment 478240
[details]
Test Case
Ahmad Saleem
Comment 5
2026-02-03 19:04:58 PST
When I close virtual keyboard, it seems to fix and red dot appear on right place, so it might because of virtual keyboard, we are doing some offset in values, which we shouldn't do.
joanne_pan2
Comment 6
2026-02-06 17:39:06 PST
Pull request:
https://github.com/WebKit/WebKit/pull/58092
EWS
Comment 7
2026-02-12 10:44:14 PST
Committed
307378@main
(fd191036e4de): <
https://commits.webkit.org/307378@main
> Reviewed commits have been landed. Closing PR #58092 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug