Skip to content

getRtlScrollAxisType detects incorrect RtlScrollAxisType for safari #14609

Closed
@kimjuan

Description

@kimjuan

What is the expected behavior?

In safari,

getRtlScrollAxisType() === RtlScrollAxisType.NEGATED

What is the current behavior?

getRtlScrollAxisType() returns RtlScrollAxisType.INVERTED

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

  • Angular/Angular Material 7.0.4
  • macOS 10.13.6
  • Safari version 12.0.2 (13606.3.4.1.4)

Is there anything else we should know?

Problem unlikely to do with safari and os. Other libraries detected it correctly using feature detection technique

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/scrollingsafariIssues specific to the Safari desktop browser

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions