Render Formatting

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a button menu in which certain buttons are only meant to be viewed/used under certain conditions:



The function seem to be working properly except for one issue.  When the user clicks "SUBMIT TO VENDOR", 2 new buttons are rendered:



The problem occurs when the user clicks the cancel button - which simply cancels the action and renders the new buttons invincible.  The function is working, except it leaves behind the following trace:



When I review the Developer, the style has changed from "display:none" to "display:inline-blocks"



Can anything be done about this?
Photo of Scott

Scott

  • 2,722 Points 2k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Scott

Scott

  • 2,722 Points 2k badge 2x thumb
Anyone every see anything like this?
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Ok this is a guess.  I think you've applied some custom css to the QB2 Id  which is getting retained when its internal contents are being rendered away.  I think if you strip off the styling you'll be good.  That may not be enough though.