Skip to content

Provide a better input experience with Server Side Rendering #8247

Closed
@hamedbaatour

Description

@hamedbaatour

Bug, feature request, or proposal:

proposal

What is the expected behavior?

the input placeholder texts renders at the top of the input when the app is being rendered on the server side to avoid interference with the user input

What is the current behavior?

the placeholder text and user input overlap when only SSR is loaded

image

What are the steps to reproduce?

server-side rendering with angular universal
add mat-input
throttle the network to simulate a slow 3g connection user experience
type in the SSR version input before the angular app bootstraps

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

it is a very frustrating to the user to type without being able to clearly see what he typed

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 5, all browsers!

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions