Skip to content

Commit 4f5fdd6

Browse files
committed
- Updating version & dist files
1 parent 1896606 commit 4f5fdd6

File tree

10 files changed

+34
-23
lines changed

10 files changed

+34
-23
lines changed

dist/fullpage.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 4.0.22
2+
* fullPage 4.0.23
33
* https://github.com/alvarotrigo/fullPage.js
44
*
55
* @license GPLv3 for open source use only
@@ -255,7 +255,8 @@ html.fp-enabled,
255255
}
256256

257257
.fp-responsive .fp-auto-height-responsive.fp-section,
258-
.fp-responsive .fp-auto-height-responsive .fp-slide{
258+
.fp-responsive .fp-auto-height-responsive .fp-slide,
259+
.fp-responsive .fp-auto-height-responsive .fp-overflow{
259260
height: auto !important;
260261
min-height: auto !important;
261262
}

dist/fullpage.extensions.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/fullpage.js

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 4.0.22
2+
* fullPage 4.0.23
33
* https://github.com/alvarotrigo/fullPage.js
44
*
55
* @license GPLv3 for open source use only
@@ -2797,6 +2797,9 @@
27972797
if (!getState().activeSection && section.isVisible) {
27982798
addClass(sectionElem, ACTIVE);
27992799
updateState();
2800+
}
2801+
2802+
if (!startingSection && section.isVisible) {
28002803
startingSection = getState().activeSection.item;
28012804
}
28022805

@@ -2926,7 +2929,9 @@
29262929
// to avoid issue #4484 & #4493 on Safari
29272930

29282931
requestAnimationFrame(function () {
2929-
scrollableItem.focus();
2932+
scrollableItem.focus({
2933+
preventScroll: true
2934+
});
29302935
scrollOverflowHandler.isInnerScrollAllowed = true;
29312936
});
29322937
}
@@ -4670,11 +4675,9 @@
46704675

46714676

46724677
scrollings.push(Math.abs(value)); //preventing to scroll the site on mouse wheel when scrollbar is present
4678+
//and preventing scroll of parent frames
46734679

4674-
if (getOptions().scrollBar) {
4675-
preventDefault(e);
4676-
} //time difference between the last scroll and the current one
4677-
4680+
preventDefault(e); //time difference between the last scroll and the current one
46784681

46794682
var timeDiff = curTime - prevTime;
46804683
prevTime = curTime; //haven't they scrolled in a while?
@@ -5145,7 +5148,7 @@
51455148
var target = params.target;
51465149

51475150
if (closest(target, getOptions().menu + ' [data-menuanchor]')) {
5148-
menuItemsHandler.call(target, params);
5151+
menuItemsHandler.call(target, params.e);
51495152
}
51505153
} //Menu item handler when not using anchors or using lockAnchors:true
51515154

@@ -5157,10 +5160,11 @@
51575160

51585161
if ($(getOptions().menu)[0] && (getOptions().lockAnchors || !getOptions().anchors.length)) {
51595162
preventDefault(e);
5163+
var menuAnchorEl = closest(this, '[data-menuanchor]');
51605164
/*jshint validthis:true */
51615165

51625166
EventEmitter.emit(events.onMenuClick, {
5163-
anchor: getAttr(this, 'data-menuanchor')
5167+
anchor: getAttr(menuAnchorEl, 'data-menuanchor')
51645168
});
51655169
}
51665170
}
@@ -5486,7 +5490,7 @@
54865490
});
54875491
});
54885492
var t = ["-"];
5489-
var n = "\x32\x30\x32\x34\x2d\x30\x2d\x33\x31".split("-"),
5493+
var n = "\x32\x30\x32\x34\x2d\x35\x2d\x32\x30".split("-"),
54905494
e = new Date(n[0], n[1], n[2]),
54915495
r = ["se", "licen", "-", "v3", "l", "gp"];
54925496

@@ -5505,11 +5509,17 @@
55055509
}();
55065510

55075511
//@ts-check
5512+
EventEmitter.on(events.beforeInit, beforeInit);
55085513
FP.setKeyboardScrolling = setKeyboardScrolling;
5514+
5515+
function beforeInit() {
5516+
setKeyboardScrolling(true);
5517+
}
55095518
/**
55105519
* Adds or remove the possibility of scrolling through sections by using the keyboard arrow keys
55115520
*/
55125521

5522+
55135523
function setKeyboardScrolling(value, directions) {
55145524
if (typeof directions !== 'undefined') {
55155525
directions = directions.replace(/ /g, '').split(',');
@@ -5916,7 +5926,7 @@
59165926
}; //public functions
59175927

59185928

5919-
FP.version = '4.0.22';
5929+
FP.version = '4.0.23';
59205930
FP.test = Object.assign(FP.test, {
59215931
top: '0px',
59225932
translate3d: 'translate3d(0px, 0px, 0px)',

dist/fullpage.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)