Skip to content
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

Layout::ON_TOP seems never used #2

Closed
sergeyzozulya opened this issue Oct 13, 2022 · 6 comments
Closed

Layout::ON_TOP seems never used #2

sergeyzozulya opened this issue Oct 13, 2022 · 6 comments

Comments

@sergeyzozulya
Copy link

Hi and thanks for the component
It seem Layout::ON_TOP is a kind of placeholder for future use for now
Is that correct? Maybe I'm missing something

@lukas-frey
Copy link
Owner

Hi and thanks for the component
It seem Layout::ON_TOP is a kind of placeholder for future use for now
Is that correct? Maybe I'm missing something

Hi! Oh yeah, I've made a mistake when replacing the enum with constants to support php 8.0. I will release a quick fix today to fix it.

@lukas-frey
Copy link
Owner

Fixed it in the new release :)

@sergeyzozulya
Copy link
Author

Unfortunately in 1.3.4 I cannot confirm it working...

Tried setting in config

'layout' => Guava\FilamentIconPicker\Layout::ON_TOP

Also tried this

IconPicker::make('icon')->layout(Layout::ON_TOP)

I don't see any difference between FLOATING and ON_TOP
I would expect is to show all icons when using ON_TOP

@sergeyzozulya
Copy link
Author

Oops, my fault
It seems I had caching issue

@lukas-frey
Copy link
Owner

Oops, my fault
It seems I had caching issue

So does it work now? It did on my end. :) I had to rebuild the css, so that's probably why.

@sergeyzozulya
Copy link
Author

Now I see the difference
When on ON_TOP is specified it doesn't hide the list
image
But I expected a grid with all icons by default so I don't have to type in anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants