-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: make reveal button extend vaadin-button #3167
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
|
||
revealButton.dispatchEvent(e); | ||
expect(e.defaultPrevented).to.be.true; | ||
const event1 = makeSoloTouchEvent('touchend', null, revealButton); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we use gesture events in vaadin-button
, a manually created CustomEvent
was causing errors.
:host::after { | ||
display: none; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to set overflow: visible
in order to let the scale(1.5)
styles work properly.
This caused the ripple to be very wide, so for now I decided to disable it 🙈
This ticket/PR has been released with platform 23.0.0.alpha1 and is also targeting the upcoming stable 23.0.0 version. |
Description
Replaced
button
element withvaadin-password-field-button
in order to leveragefocus-ring
styles.Note, the "eye" icon itself used to show the button is still where it was (
[part="reveal-button"]
).Fixes #3139
Type of change