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
Token is not displayed correctly in Modal, copying token after click does not work #95
Comments
Yep, the Modal component used has a default size of <Modal :show="show" size="2xl"> |
Good point. What about copying token after clicking? Did you look on this? |
It's not my code, I have just been playing around with it. The copy when clicking works for me. |
looks like they changed some CSS on me (again) between version 4.24.2 => 4.32.16, i'll need to look into a fix |
I created a fork of your repository: https://github.com/webard/sanctum-tokens because I needed it in my project. It fixes:
Copying feature works only in https, this should be noted in README.md, I thought it was an error, but it is limitation of browsers. |
thanks @webard With the copy issue, It's more a security issue than a browser issue, but no harm getting a note added there... eventually lol |
Yeah, I forgot that ClipboardAPI is available only on secured domain 😅. Just in case that other people wille report similar problems it is worth make note in readme. |
🎉 This issue has been resolved in version 2.1.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Hello,
token in modal looks like this:
and after clicking, there is info that I can copy by click, but nothing happens after clicking.
I have newest version of Laravel and Nova, without any special Laravel Nova plugins. Bug occurs on every browser.
The text was updated successfully, but these errors were encountered: