Skip to content

Commit

Permalink
4.4.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jul 19, 2019
1 parent 3d8322c commit e694feb
Show file tree
Hide file tree
Showing 56 changed files with 506 additions and 288 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

# Change Log

# [v4.4.7](https://github.com/framework7io/framework7/compare/v4.4.6...v4.4.7) - July 19, 2019
* Core
* Card
* Fixed issue when `data-close-by-backdrop-click` was ignored
* Sheet
* New `sheet:stepprogress` and `sheetStepPropgress` events firing during swipe step
* Inputs
* New `--f7-input-padding-left` and `--f7-input-padding-right` CSS variables
* New `--f7-textarea-height` CSS variable
* Device
* Fixed iOS 13 iPad detection when it is in desktop mode
* View/Router
* Fixed issue when `currentView` may not return View in tabs layout
* Fixed issue when returning to previous page could block its scroll in iOS
* Tooltip
* Fixed issue when tooltip wasn't initialized if added dynamically with VDOM
* Minor fixes

# [v4.4.6](https://github.com/framework7io/framework7/compare/v4.4.5...v4.4.6) - July 1, 2019
* Core
* Router
Expand Down
2 changes: 1 addition & 1 deletion packages/core/components/autocomplete.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/core/components/autocomplete/autocomplete-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ class Autocomplete extends Framework7Class {
if (ac.params.view) {
view = ac.params.view;
} else if ($openerEl || $inputEl) {
view = app.views.get($openerEl || $inputEl);
const $el = $openerEl || $inputEl;
view = $el.closest('.view').length && $el.closest('.view')[0].f7View;
}
if (!view) view = app.views.main;

Expand Down
2 changes: 1 addition & 1 deletion packages/core/components/card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/core/components/card/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ export default {
if (app.params.card.closeByBackdropClick) needToClose = true;
const $openedCardEl = $('.card-opened');
if (!$openedCardEl.length) return;
if ($openedCardEl.attr('data-close-on-backdrop-click') === 'true') {
if ($openedCardEl.attr('data-close-by-backdrop-click') === 'true') {
needToClose = true;
} else if ($openedCardEl.attr('data-close-on-backdrop-click') === 'false') {
} else if ($openedCardEl.attr('data-close-by-backdrop-click') === 'false') {
needToClose = false;
}
if (needToClose) app.card.close($openedCardEl);
Expand Down
2 changes: 1 addition & 1 deletion packages/core/components/input.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/components/input.rtl.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions packages/core/components/input/input-vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
--f7-input-bg-color: transparent;
--f7-label-font-weight: 400;
--f7-label-line-height: 1.2;
--f7-input-padding-left: 0px;
--f7-input-padding-right: 0px;
--f7-input-error-text-color: #ff3b30;
--f7-input-error-font-size: 12px;
--f7-input-error-line-height: 1.4;
Expand All @@ -12,6 +14,7 @@
--f7-input-outline-border-color: #999;
--f7-input-outline-border-radius: 4px;
--f7-input-outline-padding-horizontal: 12px;
--f7-textarea-height: 100px;
/*
--f7-input-outline-focused-border-color: var(--f7-theme-color);
--f7-input-outline-invalid-border-color: var(--f7-input-error-text-color);
Expand Down
Loading

0 comments on commit e694feb

Please sign in to comment.