Extension list

yootheme

ecommerce

joomla

Skip to main content

List of all our extensions

Create an account

Click mode fails with multiple Floating Buttons

Click mode fails with multiple Floating Buttons was created by keep2000

Posted 1 week 5 days ago #1167
Hi,

I’ve found an issue with JP CE Floating Buttons when using more than one element on the same page.

Setup:
  • Two JP CE Floating Buttons elements are placed on the page.
  • Both use Enable Main Button.
  • Main Button - Click Mode is set to Click.
Expected behavior:

Each floating button group should open and close its own child buttons independently.

Actual behavior:

If only one element is on the page, it works correctly: clicking the main button shows the child button.

However, when two elements are placed on the same page, the second one works correctly, but the first one does not open its own child button properly.

It looks like the click-mode JavaScript may not be fully scoped per element instance. In the template, the variables button and elementdiv appear to be assigned without let or const, so multiple instances may overwrite each other:

button = document.getElementById("jp_...");
elementdiv = document.querySelector("#jp_... .element-container");

Could you please check this?

Thanks

This message contains confidential information

 

Please Log in or Create an account to join the conversation.

Replied by JProStudio on topic Click mode fails with multiple Floating Buttons

Posted 1 week 1 day ago #1171
Hello, 
We Fixed an issue where Click Mode failed to work properly when multiple elements were configured on the same page. The button actions are now triggered correctly for all configured elements without conflicts.
We have also released the version 1.0.7, which includes the latest fixes, stability improvements, and performance enhancements.
Thanks and Regards
JProStudio 

For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
The following user(s) said Thank You: keep2000

Please Log in or Create an account to join the conversation.

Time to create page: 0.331 seconds
Powered by Kunena Forum