blackbluegl / calendar-component

initial Vaadin8 calendar-component
Apache License 2.0
11 stars 21 forks source link

Calendar scroll not work. #10

Closed ghost closed 7 years ago

ghost commented 7 years ago

Scroll of calendar always scroll to top when new event is added, resized or moved..

ghost commented 7 years ago

I think you can fix at method CalendarServerRpcImpl#scroll

        @Override
        public void scroll(int scrollPosition) {
            scrollTop = scrollPosition;
            // set state value
            getState().scroll = scrollPosition;
            markAsDirty();
        }
blackbluegl commented 7 years ago

Thx, is fixed here ;-) Release: Beta-2