Is there a prettier way to update a sticky N/ui/me...
# suitescript
w
Is there a prettier way to update a sticky N/ui/message then to create a new one? I have some validation warnings in a message.Message when the user updates the affected fields but it looks a bit choppy/jumpy when it removes the old one and inserts a new one.
s
global variable, hide and show not good?
w
I don't like that the whole page shifts when it removes it hide()'s and show()'s. Would like to update the message without that.
s
I'm guessing no DOM?
this would work without that shifting..... if DOM manipulation is allowed
w
😄, I'm no stranger to DOM-manipulation, but in this case I'll take the ugly shifting. It only shifts if you are at the top of the page, not if you scroll down a pixel.
🤣 1