Bootstrap is not compatible with PopperJS v2

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
TGergo
Posts: 41
Joined: 24 Nov 2022, 14:35

Bootstrap is not compatible with PopperJS v2

Post by TGergo » 07 Dec 2022, 11:46

php version 8.1
Windows 10
Aimeos version 2022.10.2.

Hello!

I would like to user Bootstrap popover component, but Popperjs v2 is not compatible with Bootstrap v5.1.3
And Popper doesn't support multiple popover, but Bootstrap popover support that.
Can You help me?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Bootstrap is not compatible with PopperJS v2

Post by aimeos » 08 Dec 2022, 10:42

The latest aimeos/ai-client-html 2022.10.x package includes Bootstrap 5.2.x and PopperJS 2.0:
https://github.com/aimeos/ai-client-htm ... js#L44-L52
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

TGergo
Posts: 41
Joined: 24 Nov 2022, 14:35

Re: Bootstrap is not compatible with PopperJS v2

Post by TGergo » 12 Dec 2022, 13:20

Thx, I tried. I read on other sites, Bootstrap 5.x.x. only compatible with PopperJS v1

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Bootstrap is not compatible with PopperJS v2

Post by aimeos » 12 Dec 2022, 13:35

That's not true for Bootstrap 5.2 any more which uses popperjs/core v2.10.2 as you can see here:
https://github.com/aimeos/ai-client-htm ... js#L44-L52
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

TGergo
Posts: 41
Joined: 24 Nov 2022, 14:35

Re: Bootstrap is not compatible with PopperJS v2

Post by TGergo » 19 Dec 2022, 13:07

Yes it works now.
app.js contained a smaller size bootstrap code, not all of it.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Bootstrap is not compatible with PopperJS v2

Post by aimeos » 20 Dec 2022, 15:46

Yes, the Bootstrap code is optimized and only contains the necessary code for the "default" theme.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply