'JavaScript keyup eventlistener does not work on iPhone

I have several events that use keyup, but they do not fire on iOS in safari. Is there another event listener that can accomplish similar actions?

Example of keyup I use to detect when someone is typing in a searchbox

document.getElementById('user_search_select').addEventListener("keyup", e=>{livebox(usersearch_counter=0)});


Solution 1:[1]

Answer here: document.getElementById('user_search_select').addEventListener("input", e=>{livebox(usersearch_counter=0)});

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Grambam