Skip to content

proposal : datepicker add popup position in horizontal big input (Input 100%) #16550

Description

@mkumar-01

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-xax8rg?file=styles.css

Steps to reproduce:

  1. .mat-form-field-infix{
    width:100% !important;
    }
  2. .mat-form-field{
    display:block !important;
    }

Expected Behavior

What behavior were you expecting to see?
The calendar should open at the position where the user had clicked at arrow icon.

Actual Behavior

What behavior did you actually see?
When the width of the input is 100% to make it responsive, calendar opened at the left.

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions