stevdza-san / KotlinBootstrap

Use the official Bootstrap UI components with Kotlin and Compose HTML, to build a frontend on the web.
167 stars 9 forks source link

How to add styles (dropdown)? #7

Closed mgordey closed 6 months ago

mgordey commented 7 months ago

I added (dropdown) to box layout and expected to see dropdown as in example, but as u see (my image) it doest have a style. image

stevdza-san commented 6 months ago

What version of the library are you using?

mgordey commented 6 months ago

@stevdza-san I've fixed this bug by updating kobweb form kobweb = "0.15.1" to kobweb = "0.15.2" =). I didnt know that is so important.

stevdza-san commented 6 months ago

@mgordey Yes, with that new version now we don't have to add an extra style/link code for the bootstrap library, since it's already included.

bitspittle commented 6 months ago

@mgordey This incompatibility was caused by a specific feature change that I implemented for the sake of this library actually. Sorry about that!

See also: https://github.com/varabyte/kobweb/issues/329

Moving forward, you shouldn't have to worry about what Kobweb version you are using. You should be able to load old Kobweb libraries with newer versioned applications, no problem.

That said, Compose versioning will be important, in case this library ever bumps up the Compose version at some point. The Compose version used by this library and by Kobweb have to be compatible.