nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.42k stars 394 forks source link

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

Open joyechans opened 1 year ago

joyechans commented 1 year ago

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

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

IDKNWHORU commented 1 year ago

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

ghdms commented 1 year ago

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

IDKNWHORU commented 1 year ago

@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.

ghdms commented 1 year ago

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

bondjw07 commented 1 year ago

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

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

ghdms commented 1 year ago

@bondjw07 just like this.

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