Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

autocomplete: options pop-up in floating-label mode detaches from input on backdrop swipe up/down on iOS #11786

Open
@Splaktar

Description

@Splaktar

Bug

CodePen and steps to reproduce the issue:

CodePen Demo which demonstrates the issue:

https://codepen.io/pen/?editors=1010#0

Detailed Reproduction Steps:

  1. Type a in the autocomplete's input
  2. Swipe up or down on the page not covered by the options pop-up

What is the expected behavior?

The options may bounce a little as per iOS behavior, but the options pop-up panel should not move in relation to the autocomplete's input.

What is the current behavior?

The options pop-up panel breaks free and the page is allowed to be scrolled with the panel detached from the autocomplete's input.

What is the use-case or motivation for changing an existing behavior?

It should work like non-floating-label mode and not allow background page to be scrolled.

Which versions of AngularJS, Material, OS, and browsers are affected?

  • AngularJS: 1.7.8
  • AngularJS Material: 1.1.20
  • OS: iOS 12
  • Browsers: Safari

Is there anything else we should know? Stack Traces, Screenshots, etc.

Discovered while testing #11778 (comment).

This is a regression introduced in 1.1.20 by PR #11743.

May be related to #11478.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3: importantImportant issues that really should be fixed when possible.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityos: iOSThis issue is specific to iOSseverity: regressionThis issue is related to a regression

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions