db-ui / elements

Web Components, based on DB UI Core.
https://db-ui.github.io/elements/
Apache License 2.0
47 stars 9 forks source link

Calendar icon showing different emoji #2207

Closed ma8642 closed 9 months ago

ma8642 commented 10 months ago

Issue:

When trying to use the "calendar" icon, it is replaced by a non-db calendar emoji.

Media:

Here's how I have implemented the calendar icon in my code (and also another icon for comparison)

calendarcode multipleticketscode

and here is how it appears:

Calendar: outcomecalendar Multiple Tickets (shows correctly): outcomemultipletickets

Other things I have tried:

Stackoverflow:

Possibly related but there is so fonts/db-ui in node modules so I don't know how to do this for db-ui icons.

My Stack:

Framework: Vue 3 Browser: chrome and firefox

mfranzke commented 10 months ago

@ma8642 thanks a lot for your request. Does a 404 / not found come up in your network tab in case of trying to display the calendar icon? To me this mainly sounds like that a font file would be missing, and that might be heavily related to your dev setup. What keeps me wondering is that other icons are actually working.

Even also this icon does actually existing in this icon variant, so it wouldn't be a general problem related to this aspect.

ma8642 commented 10 months ago

@mfranzke No, no 404s and nothing in the network tab about fonts or icons.

ma8642 commented 9 months ago

Solution: I updated my db-ui version to 0.28.0 in the package.json and now I am able to use the icon!