Comments (4)
Does LastPass add something to the input (like a class or attribute) you could use to adjust the icon position?
I'm hesitant to add this because other browsers (like Edge on Windows) add their own password toggle icon on the input as well.
from keen-ui.
I think you've misunderstood me a bit. My intention was not to add the show/hide toggle to every password icon, but to add wrapper which would take over the input's styling (bottom border). That would allow (using some per-implementation CSS trickery) to position an icon over the input. Icon next to the input works well in most cases, but isn't really the best option in the case of password input.
Thus, I thought of proposed changes more like a flexible way for sizing the input. The whole container would still be clickable, as it was inside <label>
.
Does LastPass add something to the input (like a class or attribute) you could use to adjust the icon position?
No, it doesn't, and I think it doesn't do that on purpose (disable detection = maximize security).
I'm hesitant to add this because other browsers (like Edge on Windows) add their own password toggle icon on the input as well.
I got your point. However, if I am to develop my own show / hide solution, it kinda lies within my own responsibilities to disable the windows/ie ones; with this for example: https://stackoverflow.com/a/19952071/1660757
from keen-ui.
Ah, I see that you mean now. If it's just adding the wrapper you can submit a PR. Then handle the CSS changes locally in your app.
from keen-ui.
See PR #490
from keen-ui.
Related Issues (20)
- DatePicker: When yearRange is specified with descending array, month selection is broken. HOT 3
- How to dismiss a UiSnackbarContainer? HOT 2
- Missing @types/keen-ui HOT 2
- Having a size undependand on the root node's font-size HOT 3
- position of UiDatepicker not correct when combined with UiPopover/UiMenu HOT 1
- How I get outlined share icon? HOT 3
- Support for autocapitalize property
- ESLint CRLF Windows HOT 6
- Question - Overriding variables.scss HOT 3
- how to add button or link in ui-collasible header HOT 2
- UiSelect not working in Modal HOT 1
- UiSelect selected template HOT 3
- autocomplete on custom case
- Vue.js 3.0 and further plans HOT 13
- UiCalender is not rendering HOT 1
- Dart Sass deprecation warnings HOT 1
- keen-ui.js:8252 [UiRippleInk]: Trigger element not found. HOT 1
- UiSelect can no longer be used correctly in UiPopover HOT 1
- Click on calendar buttons (without type argument) triggers form submit event HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keen-ui.