Avoid Sheet Re-render When Editing Actor's Item
TL;DR How do I avoid a re-render of a character sheet with actor.items displayed, that happens when item.update is called?
I have a simple on event handler on my character sheet like this:
with a supporting template (a partial of the character sheet that displays all the items in a table) like so:
and of course an event handler tied in
activateListeners
(with super.activateListeners(html)
):
I'm trying to avoid a re-render that happens when item.update
is called in my character sheet class code. It's bothersome because I would like the fields to be tab-targetable (clicking tab switches user-input to the next input in line), however that focus is lost due to the re-render.3 Replies
this will also cause the item sheet to not re-render, however.
@Zhell Yep that did it, thank you v much!
@martinAbsolute gave LeaguePoints™ to @Zhell (#44 • 64)