Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d622afe5265d2273b672be3a91ec7b6c95563320
      
https://github.com/WebKit/WebKit/commit/d622afe5265d2273b672be3a91ec7b6c95563320
  Author: Etienne Segonzac <[email protected]>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm

  Log Message:
  -----------
  [visionOS] Don't position the InteractionRegion container above UIKit-owned 
views
https://bugs.webkit.org/show_bug.cgi?id=297331
<rdar://158220743>

Reviewed by Simon Fraser.

Some UIKit-owned views, like scroll indicators, are automatically
re-ordered to be on top of everything else.
When we update the position of InteractionRegion containers, we need to
make sure we're not causing extra re-ordering by constantly trying to
put the container on top of these views.

* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm:
(WebKit::RemoteLayerTreeNode::repositionInteractionRegionsContainerIfNeeded):
When we encounter a view that doesn't have a corresponding node, break
instead of skipping.

This doesn't impact existing tests.

Canonical link: https://commits.webkit.org/298676@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to