ivteplo / html-sheet-element

HTML Custom Element for Creating Sheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't change height

ivteplo opened this issue · comments

I think the interaction would feel much more smooth, if we changed the translateY value instead of sheet height. When you scroll down, the sheet should go up. And when you scroll up, the sheet should go down until it is closed.

Thus there would be no scrollbar appearing on the side when the sheet has a small height. But there should be some kind of a scrollbar to make it obvious that the area is scrollable.

I think this mechanic will make more sense, since the interaction would be as if we really were dragging a long sheet to read it from end to end.