This part has space to improve, we may use onseeked event to handle this case.