-
Notifications
You must be signed in to change notification settings - Fork 916
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
[Bug] Switch color broken #5756
Comments
🚨 Bot is not sure about this answer. Please verify. 🚨 Thank you for reporting this issue with the switch background color in Backpack. Based on the information provided in the knowledge sources, I don't have specific details about this particular bug. However, I can provide some general guidance based on similar issues reported for Backpack. It seems that you've encountered a visual bug related to the switch component in the Tabler theme for Backpack. These types of UI issues are sometimes related to CSS conflicts or missing style definitions. You mentioned that you've already fixed the issue by removing a class For future reference, when encountering UI bugs in Backpack, especially with the Tabler theme, it's worth checking the following:
Since you've already fixed the issue, it would be helpful to report this to the Backpack team, preferably with details on how you fixed it. This could help them improve the theme for future releases. If you encounter similar issues in the future, you can try clearing your Laravel cache and recompiling assets:
Also, setting If the problem persists after updates and cache clearing, it's best to report it to the Backpack team with as much detail as possible, including screenshots and steps to reproduce the issue. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Github Issue (closed): [Bug] inconsistency look field Color |
no idea how to link this pull request to this issue, but here is my fix. |
Hello @NuktukDev Can you please share a screenshot?, I check our switch in a new installation and our demo and is working as expected. Which theme did you try? Cheers. |
I noticed the same behaviour.
The switch is just invisible: If you click and toggle it off it shows the outlines: |
Thank you both I found the issue, I will check @NuktukDev PR or try to fix it in a new one. Thanks again. Cheers. |
The PR is created here Meanwhile, you can try it on your side to confirm this is fixed. If everything is ok, will be merged on next release. Let continue the conversation in the PR, i will close this issue now. Cheers. |
Bug report
The switch background color was broken 4 days ago.
What I did
I used the switch.
What I expected to happen
It would take the default background color defined by tabler.
What happened
It shows a blank color.
What I've already tried to fix it
I fixed it already.
Is it a bug in the latest version of Backpack?
Yes.
After I run
composer update backpack/crud
the bug... is it still there?Yes.
Backpack, Laravel, PHP, DB version
Latest backpack, laravel 10, php 8.
When I run
php artisan backpack:version
the output is:Additional Information
There is a class
switch-{{ $field['color'] }}
that doesn't make sense to me, I removed it.Here's some more info that could be helpful in reproducing or debugging:
Note: Issues that cannot be reproduced or lack necessary details to diagnose could be closed.
The text was updated successfully, but these errors were encountered: