Aleksander Nowodzinski
|
a4422470ce
Docs: Updated module:utils/dom/position~Options#positions documentation.
|
5 лет назад |
Aleksander Nowodzinski
|
1fac38ef24
Secured the getOptimalPosition() algorithm against edge-cases when position functions have no name.
|
5 лет назад |
Kuba Niegowski
|
de7796f8f8
Fixed case of optional name of position.
|
5 лет назад |
Kuba Niegowski
|
9695f21301
The widget toolbar should not use the fallback position for long widgets when there is enough space above or below it in the viewport.
|
5 лет назад |
Aleksander Nowodzinski
|
50bb75c2e5
Updated how the getPositionedAncestor() is used in the getOptimalPosition() because it no longer considers the passed element. Refactoring in tests.
|
5 лет назад |
Aleksander Nowodzinski
|
c4521b683b
Code refactoring and docs.
|
5 лет назад |
Aleksander Nowodzinski
|
6bea8dcc7a
Docs: Improved documentation in the utils/dom/position module.
|
5 лет назад |
Kuba Niegowski
|
af056645af
Function getOptimalPosition should prefer positions inside viewport and not lock on first not optimal position
|
5 лет назад |
Maciej Gołaszewski
|
dd003637b1
Fix dangling comma.
|
5 лет назад |
Kamil Piechaczek
|
2283aa4f74
Internal: Bumped the year. [skip ci]
|
6 лет назад |
Kamil Piechaczek
|
98899fd81e
Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci]
|
6 лет назад |
Kamil Piechaczek
|
3e031cfe15
Internal: Bumped the year. [skip ci]
|
7 лет назад |
denis
|
8dca2deeba
Fix some typos
|
7 лет назад |
Maciej Bukowski
|
6f180cfde0
Replaced `lib/lodash` imports with `lodash-es`.
|
7 лет назад |
Piotrek Koszuliński
|
1eba2cbdb7
Internal: Bumped the year. [skip ci]
|
8 лет назад |
Aleksander Nowodzinski
|
3c0f93d945
Tests: Updated getOptimalPosition DOM helper's tests so they don't rely on global#window.
|
8 лет назад |
Oskar Wróbel
|
db7dea6298
Merge branch 'master' into t/ckeditor5-ui/260
|
8 лет назад |
Aleksander Nowodzinski
|
2259ba4a49
Aligned dom/position and dom/scroll modules to the latest Rect class API.
|
8 лет назад |
Aleksander Nowodzinski
|
73daedbf77
Allowed getOptimalPosition helper's limiter as a Function.
|
8 лет назад |
Aleksander Nowodzinski
|
d7a9daf8b9
Used getBorderWidths() helper in getOptimalPosition().
|
8 лет назад |
Aleksander Nowodzinski
|
7a8e4ffc79
Other: getOptimalPosition utility should accept the target option
|
8 лет назад |
Aleksander Nowodzinski
|
71bfadcf95
Fix: The getOptimalPosition utility should consider limiter ancestors with CSS overflow. Closes #148.
|
8 лет назад |
Aleksander Nowodzinski
|
a16537fcac
Docs: Updated link to an old issue in a different repository.
|
8 лет назад |
Aleksander Nowodzinski
|
fa91f1ae53
Docs: Fixed wrong links to the issue.
|
8 лет назад |
Aleksander Nowodzinski
|
74888f731d
Docs: Improvements in getOptimalPosition.
|
8 лет назад |
Aleksander Nowodzinski
|
23ccac1523
Fixed: getOptimalPosition utility does not consider scroll positions and border-width correctly.
|
8 лет назад |
Piotrek Koszuliński
|
41ab72e6f1
Bump up the year.
|
9 лет назад |
Piotrek Koszuliński
|
8fff7a1da5
Use package-based paths to modules.
|
9 лет назад |
Aleksander Nowodzinski
|
095a172d9d
Improved global module.
|
9 лет назад |
Aleksander Nowodzinski
|
60f4e96c2c
Used global module in various modules and tests to bulletproof them with predictable stubs.
|
9 лет назад |