Bug 234579

Summary: Search box gets dismissed when the cursor leaves the box during selection
Product: WebKit Reporter: Paul Schreiber <paulschreiber>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, megan_gardner, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: Unspecified   
Attachments:
Description Flags
screen recording none

Description Paul Schreiber 2021-12-21 15:51:13 PST
Created attachment 447758 [details]
screen recording

Steps to reproduce the problem:
1. Go to <https://terraso.org/?s=foobar>
2. Click on search icon [text box appears]
3. Drag right to left to highlight “foobar”

What is the expected behavior?
Search box stays present.

What went wrong?
The search box disappears.

Dragging left to right works as expected. See screen recording.

Regression
In Safari and Chrome, the search box disappears dragging RTL.
In Firefox, the search box remains visible dragging RTL.

Chrome bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=1282031
Comment 1 Radar WebKit Bug Importer 2021-12-28 15:52:17 PST
<rdar://problem/86966733>
Comment 2 zalan 2021-12-28 20:48:39 PST
The search box disappears both directions (and even up/down), once the cursor leaves the box.