Skip to content

Prevent mat-calendar _focusActiveCell #11023

Closed

Description

@shaniqwa

Bug, feature request, or proposal:

add boolean input to allow/prevent this function call.

What is the expected behavior?

When a calendar visibility is toggled, it should not take focus.

What is the current behavior?

When a calendar visibility is toggled, it takes focus. The pages scrolls to the focused calendar.

What are the steps to reproduce?

example here : https://ticketsportal.smartag.us/#/

  • add some tickets.
  • calendar is displayed at bottom. pages scrolls to the calendar (unwanted behaviour)

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

I think ability to use calendar without taking focus could be useful in other cases as well, similar to the one in the link.

Activity

  1. self-assigned this
    on Apr 27, 2018
  2. added
    P3
    on Apr 27, 2018
  3. added a commit that references this issue on Apr 27, 2018
    4baa4ee
  4. added a commit that references this issue on May 3, 2018
    68e567f
  5. shaniqwa commented on May 21, 2018

    @shaniqwa
    Author

    Thank you for adding this fix! really helped me 👍

  6. angular-automatic-lock-bot commented on Sep 9, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions