Ripple effect interferes with p:selectBooleanCheckbox

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
mifre
Posts: 2
Joined: 31 Oct 2019, 12:26

31 Oct 2019, 13:16

The functions @keyframes rippleOn and rippleOff are introduced in the css stylesheets of Ultima 2.0.1.
They seem to interfere when selecting checkboxes when they are placed next to each other like this:
<p:selectBooleanCheckbox />
<p:selectBooleanCheckbox />
<p:selectBooleanCheckbox />
<p:selectBooleanCheckbox />
When trying to select and deselect these checkboxes in a repetitively way, sometimes a neighboring checkbox will be selected or deselected instead of the one I am trying to click on.
This effect is also observed for p:columnToggle and p:selectManyCheckbox.
When the transform: scale(13, 13) in the rippleOn and rippleOff functions is enlarged to e.g. (25,25) the effect spreads out:
I was able to deselect the first selectBooleanCheckbox by clicking on the fourth selectBooleanCheckbox.

This effect is not observed for Ultima 2.0.0
The ripple effect can not be switched off any longer by removing the ripple.css and the ripple.js from the template.xhtml
Since Ultima 2.0.1 the ripple effect seems to be switched off only by introducing empty functions to the <style type="text/css"> section in the template.xhtml:
@keyframes rippleOn {}
@keyframes rippleOff {}
When introducing these empty functions, the checkboxes behavior is correct again.

karcio
Posts: 3
Joined: 27 Dec 2016, 17:59

18 Dec 2019, 09:57

Hi, we have the same problem when using p:selectCheckboxMenu. When selecting many checkboxes then neighbouring checkboxes are often selected/unselected, it is very difficult to use that component now.

Workaround provided by mifre helped, but please provide fix for that error to have both ripple effect and working checkboxes.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 Dec 2019, 09:49

Hi,

Thanks a lot for the info. Fixed for next version.

Best Regards,

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests