Hidden fields reappearing behind mask screen

Use this board to ask questions or have discussions with other Rich Displays users.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Hidden fields reappearing behind mask screen

Post by Scott Klement »

Did hiding the element this way work when it wasn't being overlaid?! The css class is "blueprint-grid" which makes me wonder if this is a grid element that you're trying to hide.

Note the comment in my original code example:

Code: Select all

    // extra processing may be needed for some elements, depending on 
    // how complex they are.  For example, a grid would need to be
    // re-rendered.
RichDotsonMTD
Profound User
Posts: 30
Joined: Mon Jun 22, 2020 1:48 pm
First Name: Rich
Last Name: Dotson
Company Name: MTD Products
State / Province: Ohio
Country: United States
Contact:

Re: Hidden fields reappearing behind mask screen

Post by RichDotsonMTD »

Yes, the element is being hid this way when it isn't being overlaid. That being said, that element had the incorrect css class assigned to it. I removed the "blueprint-grid" value and assigned the correct css class to it. The element being hid in this example was a layout widget type. Correcting the css class had no affect on the process. The layout element is still hidden on the initial display but is appearing when overlaid with a window.
RichDotsonMTD
Profound User
Posts: 30
Joined: Mon Jun 22, 2020 1:48 pm
First Name: Rich
Last Name: Dotson
Company Name: MTD Products
State / Province: Ohio
Country: United States
Contact:

Re: Hidden fields reappearing behind mask screen

Post by RichDotsonMTD »

I couldn't spend any more time to figure this out so I created a work around. Instead of trying to re-hide the underlying fields I just change the opacity of the window mask screen so that the fields underneath do not bleed through. I only change the opacity if there were fields that were hidden otherwise the window mask screen appears as normal.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Hidden fields reappearing behind mask screen

Post by Scott Klement »

sounds good to me.

I'm not sure why the previous stuff wasn't working. If you decide to try again, you'll need to use the debugger and figure out what's going on.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests