Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Possible to highlight an Object when clicking outside of a Modal Window?


This topic is 3384 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello there, my solution has a layout that opens on a modal window to force the user to focus on that, as it has a side menu to the left that stays open all the time, I want to know if it is possible to when I have the modal window open and the user clicks outside of the modal window, to hightlight a field or button inside the modal window itself to force the user to focus on the unfinished job he has there.

Ideas are very welcome!
 

Thank you!

Posted

One thing you can try is placing an empty web viewer in the background of the modal window (filling the window and anchoring to the sides).  Move it behind all fields and controls (obviously).  Then, when you open the window, put focus into a field, which will gain the familiar "on-focus" outer-shadow highlight.  Because of the web viewer background, which "catches" background clicks and prevents automatic commits, the user will be able to move between fields (of course) but not remove focus entirely from the window by clicking either in the background or outside.  As long as the window is open, one field will always have obvious focus.  Of course, your "Close" button should then commit any edits made in the modal window.

hth,

Mark

  • Like 1

This topic is 3384 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.