Bug 229442 - sticky thead and th causes incorrect positioning
Summary: sticky thead and th causes incorrect positioning
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari 14
Hardware: Mac (Apple Silicon) macOS 11
: P2 Normal
Assignee: Simon Fraser (smfr)
Keywords: InRadar
Depends on:
Reported: 2021-08-24 07:41 PDT by Shun MIZUKAMI
Modified: 2021-09-23 03:36 PDT (History)
5 users (show)

See Also:

reproduce (1.71 KB, text/html)
2021-08-24 07:41 PDT, Shun MIZUKAMI
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shun MIZUKAMI 2021-08-24 07:41:13 PDT
Created attachment 436286 [details]

# Overview

Scrolling the table with sticky th inside sticky thead inside a overflow:auto div, th cell moves opposite to scroll direction, while it is expected to be stopped.

# Steps to reproduce

see attachment

# Actual Results

th cell moves down.

# Expected Results

th cell stops at the top.

sorry I'm new to here:)
Comment 1 Simon Fraser (smfr) 2021-08-24 11:35:07 PDT
Thank you for the test case.
Comment 2 Radar WebKit Bug Importer 2021-08-24 11:35:23 PDT
Comment 3 Martin Robinson 2021-09-23 03:36:47 PDT
Is this still an issue? I'm not seeing it with Safari 15. It's possible this has been fixed by recent position:sticky improvements, so I'll close this. Feel free to comment if this is still a problem though.