Skip to content
This repository has been archived by the owner on Aug 29, 2023. 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 opened this issue Aug 26, 2019 · 0 comments
Labels
needs: investigation The cause of this issue is not well understood and needs to be investigated by the team or community os: iOS This issue is specific to iOS P3: important Important issues that really should be fixed when possible. severity: regression This issue is related to a regression
Milestone

Comments

@Splaktar
Copy link
Member

Splaktar commented Aug 26, 2019

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.

@Splaktar Splaktar self-assigned this Aug 26, 2019
@Splaktar Splaktar added P3: important Important issues that really should be fixed when possible. severity: regression This issue is related to a regression labels Aug 26, 2019
@Splaktar Splaktar added this to the 1.1.22 milestone Aug 26, 2019
@Splaktar Splaktar added os: iOS This issue is specific to iOS needs: investigation The cause of this issue is not well understood and needs to be investigated by the team or community for: external contributor labels Aug 26, 2019
@Splaktar Splaktar removed their assignment Aug 26, 2019
@Splaktar Splaktar modified the milestones: 1.1.22, 1.1.23 Oct 22, 2019
@Splaktar Splaktar modified the milestones: 1.1.23, 1.2.1 May 6, 2020
@Splaktar Splaktar modified the milestones: 1.2.1, 1.2.2 Sep 14, 2020
@Splaktar Splaktar modified the milestones: 1.2.2, - Backlog Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: investigation The cause of this issue is not well understood and needs to be investigated by the team or community os: iOS This issue is specific to iOS P3: important Important issues that really should be fixed when possible. severity: regression This issue is related to a regression
Projects
None yet
Development

No branches or pull requests

1 participant