-
Notifications
You must be signed in to change notification settings - Fork 13
Frontend - autocomplete #547
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
Frontend - autocomplete #547
Conversation
resources/views/layouts/partials/header/autocomplete/categories.blade.php
Outdated
Show resolved
Hide resolved
{{-- These classes are only used when you come from a page with a product listing, --}} | ||
{{-- click on a link that leads to a 404 page and try to use the search there --}} | ||
class="relative [&_*]:!m-0 [&_[isclearicon=]]:!mr-2 [&_.cancel-icon]:!fill-[#595959] [&_[groupposition=right]]:!absolute [&_[groupposition=right]]:!top-2/4 [&_[groupposition=right]]:!right-0 [&_[groupposition=right]]:!-translate-y-2/4" | ||
class="relative [&_*]:!m-0" |
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.
Did you test this case?
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 have tested the case local:
- Created a link that leads to a 404 page.
- Navigated to a page where a product listing is used.
- Clicked on the link that leads to a 404 page.
- Used the autocomplete to search.
Tested running yarn dev
& yarn prod
resources/views/layouts/partials/header/autocomplete/products.blade.php
Outdated
Show resolved
Hide resolved
tailwind.config.js
Outdated
inactive: 'rgb(var(--inactive) / <alpha-value>)', // Inactive text color | ||
inactive: { | ||
DEFAULT: 'rgb(var(--inactive) / <alpha-value>)', // Inactive text color | ||
100: 'rgb(var(--inactive-100) / <alpha-value>)', // Inactive light background color |
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.
#580 --> inactive will change here.
resources/views/layouts/partials/header/autocomplete/no-results.blade.php
Outdated
Show resolved
Hide resolved
resources/views/layouts/partials/header/autocomplete/no-results.blade.php
Show resolved
Hide resolved
resources/views/layouts/partials/header/autocomplete/no-results.blade.php
Outdated
Show resolved
Hide resolved
…ve max-md for overflow-clip
Could you arrange a follow-up on this with the latest changes implemented like the colors and named z-indexes? |
4ec268b
Moved this Pull request to a new one because this one is created from a fork. New pull request can be found here: #670 |
Before:


After:




Hover:

What is changed: