Reputation: 6687
I have an input with a dynamic placeholder. On focus I change the placeholder but some reason I lose my text-overflow: ellipsis property. But when blurred I regain it. Any thoughts on why this is happening?
I've prepared a stackblitz to play with:
https://stackblitz.com/edit/angular-jadz6i
Upvotes: 2
Views: 1859
Reputation: 8894
It's based on browser default functionalities. The purpose of the placeholder is to show whole information to user. But you can try it in Firefox, it works. Mine is 69.0.1 (64-bit) Firefox. Chrome doesn't support it.
Suggestions are
Upvotes: 1