RC1: Element Conditions - Today: Minor UI issues

Hi there,

Some minor things behaving oddly within the Conditions manager specifically the Today option.

Initially works as expected, but when you then click on the Time area and the UI changes size to accommodate the smaller controls needed, it ends up floating away from the main Conditions area.

Interestingly, this only happens on first page load - i.e. refresh the builder, go to conditions, select ‘Today’, go to date selector, and then click on the time area, and it shows up like this:

If I escape out of the conditions builder and then come back in and follow the same steps, it the works as expected, since the date selector drops down below the field.

Secondly, my expectation using it would be that clicking off the date area, by clicking on the underlying Conditions editor, would hide the date area. This does not happen, and both boxes stay open until you click elsewhere in builder. In this screenshot, I opened up the date selector for the first condition row, then clicked on and to add additional rows, which were added, but the date selector remains floating above the fields.

Taking it to the extreme, it’s then possible to open up more date selectors and it does get a bit messy…

As a final addition, which also applies to other similar looking UI boxes for Conditions and the Query Builder, it seems logical to me that you should be able to hide these pop ups by pressing esc , as you would for the more significant dialogue box pop ups like elements and css etc, but that isn’t the case at the moment and they have to be hidden by clicking elsewhere in the builder. An alternative, for users who are not used to the click away kind of behaviour, might be to have a small x in the top right to hide the small Conditional / Query Builder UI? Just my two cents on that! The issues outlines before are probably more of a priority.

Cheers

Thank you! Confirmed.

1 Like

Fixed for next patch. Also got it setup to close any of those dialogs with you press esc like you’ve mentioned. Great idea there. I don’t think we should add a close button in this case since those windows are more transient and will close if you click the button used to open it, or anywhere outside it. Thanks again for bringing this to our attention!

1 Like