[Webkit-unassigned] [Bug 232295] New: webView.scrollView.indicatorStyle does not work on iOS 15

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 23:21:46 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232295

            Bug ID: 232295
           Summary: webView.scrollView.indicatorStyle does not work on iOS
                    15
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dh.chong at outlook.com

Created attachment 442467

  --> https://bugs.webkit.org/attachment.cgi?id=442467&action=review

The demo project (please run it using iOS 14 and 15 simulators respectively)

Previously, on iOS 14, this kind of code can work perfectly:

```swift
  override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
    super.traitCollectionDidChange(previousTraitCollection)

    switch traitCollection.userInterfaceStyle {
    case .light:
      webView.scrollView.indicatorStyle = .black
    case .dark:
      webView.scrollView.indicatorStyle = .white
    default:
      break
    }
  }
```

However, after iOS 15, it stopped from working. We cannot find any related documentation about customizing the color of the scroll indicator.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211026/f4819602/attachment.htm>


More information about the webkit-unassigned mailing list