Laravel-Backpack / theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.
MIT License
21 stars 12 forks source link

[Bug] Icon_picker field doesn't work #44

Closed tabacitu closed 1 year ago

tabacitu commented 1 year ago

Bug report

What I did

Go to our Demo, in Monsters.

What I expected to happen

Icon_picker field to look good and work.

What happened

It does not look good, does not work at all:

CleanShot 2023-05-15 at 15 22 16

What I've already tried to fix it

Nothing. I thought it was a Bootstrap v5 problem but Mauro has investigated a bit: https://github.com/Laravel-Backpack/theme-tabler/issues/35#issuecomment-1541564269

It looks like the problem is isolated to Tabler. Both CoreUIv4 and Tabler use BS5 but... this field is only broken in Tabler. So... no idea what the problem might be. Maybe some overlapping CSS?!

pxpm commented 1 year ago

This is a real mess: image

It required changing files in icon-picker.js library just to display like this. Also, from my tests, it will NOT work on coreui-v4 without this changes, dunno how @maurohmartinez made it work, I wasn't able.

Not fully tested, but is this a direction we want to follow ? Maintain our own icon-picker.js file ?

Cheers

tabacitu commented 1 year ago

We have another issue for this, Pedro is on it.