Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 143c9bf9638fb9bf95f59f98bad780ed6b5820af
      
https://github.com/WebKit/WebKit/commit/143c9bf9638fb9bf95f59f98bad780ed6b5820af
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebKit/UIProcess/PDF/WKPDFPageNumberIndicator.mm

  Log Message:
  -----------
  [UnifiedPDF] [iOS] Page number indicator does not have a fade out transition
https://bugs.webkit.org/show_bug.cgi?id=295188
rdar://154641207

Reviewed by Wenson Hsieh.

We notice unexpected behavior from +animateWithDuration:animations: as
we try to fade out the page number indicator. This seems to only
reproduce with a UIGlassEffect visual effect configured, as this does
not happen on visionOS (which uses a UIBlurEffect instead).

While this needs to be investigated further in rdar://154649008, this
patch works around the problem by adopting the animation option
`UIViewAnimationOptionFlushUpdates`, which flushes all pending property
updates when the animation context/scope is modified.

* Source/WTF/wtf/PlatformHave.h:
Introduce a HAVE macro to express platform availability information
about UIViewAnimationOptionFlushUpdates.

* Source/WebKit/UIProcess/PDF/WKPDFPageNumberIndicator.mm:
(-[WKPDFPageNumberIndicator hide:]):

Canonical link: https://commits.webkit.org/296807@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