Page 1 of 1
focus-within CSS pseudo-class
Posted: Tue Feb 07, 2023 8:12 pm
by Johann
Hello,
in Author Web 25.0, we try to use the focus-within CSS pseudo-class but it does not seem to work.
Does it have to be used in a particular way to work?
Thank you,
Johann
Re: focus-within CSS pseudo-class
Posted: Wed Feb 08, 2023 10:59 am
by cristi_talau
Hello,
The focus-within pseudo-class is not supported in Web Author.
It would help us understand your use-case for this pseudoclass. This way we can either suggest an alternative solution or prioritize adding support for it.
Best,
Cristian
Re: focus-within CSS pseudo-class
Posted: Wed Apr 05, 2023 3:23 pm
by Johann
Hello,
Sorry for the delay,
The need for this functionality would be motivated by a need for performance in the display of the Author view.
Indeed, with our stylesheets, we sometimes have a lot of oxy_editor to display in the author view and we then notice a degradation of the global performances (display and edition).
We wanted to test to display these oxy_editors only when focusing on the tags we are interested in. The oxy_editor would then only be displayed on demand and would improve global performance.
Do you think it could work?
Regards,
Johann
Re: focus-within CSS pseudo-class
Posted: Fri Apr 07, 2023 8:12 am
by mihaela
Hello,
A possible solution would be to present an "Edit" button on each element that can be edited with an oxy_editor, and present the editor only after the user press "Edit".
If you want, you can send us a sample file and your current CSS configuration to analyze them (you can use our support email address
support@oxygenxml.com), to determine if there is something to improve on the performance.
Best Regards,
Mihaela