Skip to content

Commit

Permalink
Merge pull request #298 from MarjanDB/qol/focus-databinding-variable-…
Browse files Browse the repository at this point in the history
…rule

QoL - Focus input on databind rule
  • Loading branch information
KlausSchaefers authored Jun 10, 2024
2 parents a67c8d7 + 765fac9 commit 2f03db7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/canvas/toolbar/components/Rule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export default {
input.setValue(rule.databinding)
input.setHints(options);
this.tempOwn(on(input, "change", lang.hitch(this, "setDataBinding")));
window.requestAnimationFrame(() => input.focus())
}
},
Expand Down

0 comments on commit 2f03db7

Please sign in to comment.