javascript - Dynamically create input and keep tab order correct -
have problem: on enter click, need redraw input form , after that, tab order becomes messed up, because, guess browser doesn't see last blurred input. if not re-render inputs, tab order stays was.
examples:
<input-1><input-2><input-3>
scenario 1: click enter on input-2 -> re-render inputs -> click tab -> focused browser address bar.
scenario 2: click enter on input-2 -> don't re-render inputs -> click tab -> focused input-3.
Comments
Post a Comment