tui.grid icon indicating copy to clipboard operation
tui.grid copied to clipboard

그리드 외부 스크롤 이슈 질문드립니다.

Open joyechans opened this issue 2 years ago • 6 comments

안녕하세요. 덕분에 만족스러운 그리드를 사용 중에 있습니다. 그리드를 사용하던 중 찾은 이슈가 있는데 개인적인 이슈인지 파악하기 어려워서 질문드립니다.

그리드 외부에선 전체 스크롤이 작동하는데 그리드 내부에서 마우스로 내리려고 하면 전체 스크롤이 작동하지 않습니다. 확인 부탁드리겠습니다. 감사합니다

joyechans avatar Dec 29 '22 04:12 joyechans

@joyechans Can you provide a link to a website or project that can reproduce the phenomenon?

IDKNWHORU avatar Feb 06 '23 12:02 IDKNWHORU

@IDKNWHORU 저도 같은 이슈가 있는데요. https://github.com/nhn/tui.grid/issues/1873 과 같은 이슈 같습니다. (https://github.com/nhn/tui.grid/issues/1857 추가) fix PR 이 언제 반영될까요?

ghdms avatar May 12 '23 05:05 ghdms

@ghdms Sorry. I am not the maintainer of this project. I don't know when this PR will be accepted. But I mentioned it to the maintainer (@jajugoguma) and I assume they are aware.

p.s. Please write in English.

IDKNWHORU avatar May 12 '23 06:05 IDKNWHORU

@IDKNWHORU Thanks. I solved this issue with wheel event, so not urgent for me.

ghdms avatar May 12 '23 08:05 ghdms

@IDKNWHORU Thanks. I solved this issue with wheel event, so not urgent for me.

@ghdms Can you share the wheel event solution you used?

bondjw07 avatar Jul 02 '23 05:07 bondjw07

@bondjw07 just like this.

const el = document.getElementsByClassName('...')[0];
el.onwheel = event => {
  el.scrollBy(0, event.deltaY);
};

ghdms avatar Jul 05 '23 03:07 ghdms