Commit 1e49b4d6 authored by Kedar A.'s avatar Kedar A. 💻

selector widget: webkit issue resolved

parent e029eaba
......@@ -311,7 +311,8 @@
{
currentEl.nextElementSibling.classList.add('traversing-el');
currentEl.classList.remove('traversing-el');
toBeSelected.scrollBy(0, currentEl.clientHeight);
// toBeSelected.scrollBy(0, currentEl.clientHeight);
toBeSelected.scrollTop += currentEl.clientHeight;
}
}
......@@ -328,7 +329,8 @@
{
currentEl.previousElementSibling.classList.add('traversing-el');
currentEl.classList.remove('traversing-el');
toBeSelected.scrollBy(0,-50);
// toBeSelected.scrollBy(0,-50);
toBeSelected.scrollTop -= currentEl.clientHeight;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment