Compare commits

..
4 Commits
Author SHA1 Message Date
Lauri Ojansivu 12cccc25cc v2.09 2019-01-28 18:29:46 +02:00
Lauri Ojansivu 34f62cb3b3 - [Fix vertical automatic scrolling when opening a card](https://github.com/wekan/wekan/commit/820d3270935dc89f046144a7bbf2c8277e2484bc).
Thanks to bentiss !
2019-01-28 18:23:28 +02:00
Lauri Ojansivu 820d327093 Merge pull request #2140 from bentiss/scrolling-fixes
automatic scroll: fix vertical automatic scrolling when opening a card
2019-01-28 18:12:51 +02:00
Benjamin Tissoires 1cfe084cc2 automatic scroll: fix vertical automatic scrolling when opening a card
We actually want the vertical scrolling to be fixed when opening the
card details.
I am not sure where the `100` value comes from, but this makes the
scrolling happy on the swimlane view and on the lists view.
2019-01-28 16:21:43 +01:00
5 changed files with 16 additions and 9 deletions

No files matched your search

+8
View File
@@ -1,3 +1,11 @@
# v2.09 2019-01-28 Wekan release
This release fixes the following bugs with Apache I-CLA, thanks to bentiss:
- [Fix vertical automatic scrolling when opening a card](https://github.com/wekan/wekan/commit/820d3270935dc89f046144a7bbf2c8277e2484bc).
Thanks to GitHub user bentiss for contributions.
# v2.08 2019-01-28 Wekan release
This release fixes the following bugs with Apache I-CLA, thanks to bentiss:
+1 -1
View File
@@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
appVersion: "v2.08.0"
appVersion: "v2.09.0"
files:
userUploads:
- README.md
+4 -5
View File
@@ -78,14 +78,13 @@ BlazeComponent.extendComponent({
//Scroll top
const cardViewStartTop = $cardView.offset().top;
const cardContainerScrollTop = $cardContainer.scrollTop();
let topOffset = false;
if(cardViewStartTop < 0){
topOffset = 0;
} else if(cardViewStartTop - cardContainerScrollTop > 100) {
topOffset = cardViewStartTop - cardContainerScrollTop - 100;
if(cardViewStartTop !== 100){
topOffset = cardViewStartTop - 100;
}
if(topOffset !== false) {
bodyBoardComponent.scrollTop(topOffset);
bodyBoardComponent.scrollTop(cardContainerScrollTop + topOffset);
}
},
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "v2.08.0",
"version": "v2.09.0",
"description": "Open-Source kanban",
"private": true,
"scripts": {
+2 -2
View File
@@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 210,
appVersion = 211,
# Increment this for every release.
appMarketingVersion = (defaultText = "2.08.0~2019-01-28"),
appMarketingVersion = (defaultText = "2.09.0~2019-01-28"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,