question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Hover styling for Password Reset "Send Code" with Vue3 Authenticator component

See original GitHub issue

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

Vue

Which UI component?

Authenticator

How is your app built?

Vite

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Please describe your bug.

Authenticator component CSS appears to bug out on Reset Password.

Specifically the “Send Code” button w/ onHover behavior.

See below:

SendCodeBug

What’s the expected behaviour?

The button shows its background & text is visible, when not being hovered over (as its intended).

Help us reproduce the bug!

  1. Clone this: https://github.com/antfu/vitesse
  2. pnpm i
  3. pnpm i @aws-amplify/ui-vue aws-amplify
  4. Create new file --> src/components/Auth.vue
  5. Follow this: https://ui.docs.amplify.aws/vue/connected-components/authenticator
  6. pnpm dev
  7. See bug

Code Snippet

<script setup>
import { Amplify } from 'aws-amplify'
import '@aws-amplify/ui-vue/styles.css'
import { Authenticator } from '@aws-amplify/ui-vue'
import awsconfig from '~/aws-exports'

Amplify.configure(awsconfig)
</script>

<template>
  <authenticator>
    <template #default="{ user, signOut }">
      <h1>Hello {{ user.username }}!</h1>
      <button @click="signOut">
        Sign Out
      </button>
    </template>
  </authenticator>
</template>

Additional information and screenshots

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
armenrcommented, Jul 21, 2022

@joebuono - JOE! Thank you!! Considering the fact we’re using Uno, and doing something really specific, you didn’t have to help us figure it out, but you went the extra mile.

I sincerely appreciate the Customer Obsession. I’m happy to close this now, as it is solved. PS - tell my friend @ErikCH I said what’s up 😛

1reaction
knavelscommented, Jul 20, 2022

Yes same issue here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication In Vue.js - Smashing Magazine
This is a way to show that only authorized users can send requests to those endpoints. The unrestricted endpoints are the /register and...
Read more >
Reset password submit button has incorrect label · Issue #1784
When using the <amplify-authenticator> Angular component, with no customizations, the reset password button says "Send Code" even though the ...
Read more >
How to Build Production-ready Vue Authentication
In this tutorial you'll learn how you can manage everything from user sign up, user sign in, forgot password, & MFA. You'll also...
Read more >
Customization | Amplify UI for Vue
Custom Sign In footer with a Reset Password link; Custom Sign Up header with Create a new account; Custom Sign Up footer with...
Read more >
Registration and Login (Authentication) with Vue.js and Strapi
Users will be able to register, log in to our Application and also perform password recovery. Prerequisites. What'll you need for this tutorial:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found