angular / material

Material design for AngularJS
https://material.angularjs.org/
MIT License
16.55k stars 3.39k forks source link

select: dropdown box is cut off and locate out of the screen in RTL view on mobile/iPad #12100

Open frkfir opened 3 years ago

frkfir commented 3 years ago

AngularJS Material is in LTS mode

We are no longer accepting changes that are not critical bug fixes into this project. See Long Term Support for more detail.

Bug Report

md-select dropdown box is cut off and locate out of the screen in RTL view on mobile/iPad. In the previous versions, this bug hasn't appeared.

Demo and steps to reproduce the issue

Open md-select drop down on LTR and then change the view to RTL, the list box appears at the edge of the page and cut off. Also when the text is a little bit long from the example on the Angular JS material documentation, the text also cuts off.

This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.

**Demo URL (required)***:

Detailed Reproduction Steps

Explain the expected behavior

The expected behavior should be the same as LTR view.

Explain the current behavior

The current behavior isn't like LTR view and the list box is cut off (also the text inside each md-option)

Discuss the use-case or motivation for changing the existing behavior

It is important to fix this problem as it is a regression to something that has worked well in the past and there are quite a few customers with RTL languages who need this solution.

List the affected versions of AngularJS, Material, OS, and browsers

Add anything else we should know

Stack Trace

Screenshots

On LTR view: 123

On RTL view: 1234

Splaktar commented 3 years ago

We need this information to look into this issue further.

frkfir commented 3 years ago