Question

2
Replies
579
Views
Close popover
Gergo Tolnai (Gerg?T70)
Saltech Consulting

Saltech Consulting
HU
Gerg?T70 Member since 2016 22 posts
Saltech Consulting
Posted: June 23, 2017
Last activity: June 27, 2017
Closed

Action "Set style" not really working...

Hello,

Under pega version 7.2.1 I would like to use the built-in "Set style" action to add a class name to an element after it is clicked.

I did set up an "action set" to listen on click events and used the set style as an action.

However, this simply does not work (other actions as for example Run Script work). I have tried these combinations:

Action Style setting type Outcome
Click Style Class not working
Click Inline css not working
Hover Style Class not working
Hover Inline css works
Focus Style Class not working
Focus Inline css works

Also pretty strange that the additional style seems to be discarded if the focus on the element is lost, however, if the element was once hovered and later another element gets the hover, the previous element will still have the styles added with inline. I think this behaviour is pretty inconsistent.

Are you experiencing this issue too?

***Edited by Moderator: Marissa to update categories***

User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.