This website works better with JavaScript
首頁
探索
說明
登入
unicraft
/
cke
關註
8
讚好
0
複刻
0
檔案
目錄樹:
aebf806d13
分支列表
標籤列表
feat/v28
feat/v28-with-smileys
feat/v28-with-types
feat/v35
feat/v38
feat/v40x
fix/destroy-undefined
master
stable
v38.7
v38.6
v38.4
v31beta2
v31beta1
v28beta2
v28beta1
v23.1.0
v23.0.0
v22.0.0
v21.0.0
v20.0.0
v19.1.1
v19.1.0
v19.0.0
v18.0.0
v17.0.0
v16.0.0
v15.0.0
v12.4.0
v12.3.1
v12.3.0
v12.2.0
v12.1.0
v12.0.0
v11.2.0
v11.1.1
v11.1.0
v11.0.1
v11.0.0
v10.1.0
10.1.0
v10.0.1
v10.0.0
v1.0.0-beta.4
v1.0.0-beta.2
v1.0.0-beta.1
v1.0.0-alpha.2
v1.0.0-alpha.1
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.0
v38.6_imageinsert
v38_3
v38_2
v38_1
v36_1
v35_node1618
v35_codeblock_1
cke
/
packages
/
ckeditor5-ui
/
tests
/
manual
/
panel
/
sticky
/
stickypanelview.md
stickypanelview.md
1.0 KB
文件歷史
原始文件
Vertical scrolling
Sticky to the top of the viewport
When the page is scrolled vertically, the panel should
stick to the top of the viewport first,
then disappear beyond the upper edge of the viewport as it touches the red area
but never cover the red area or go beyond the upper edge of editor mock–up.
Sticky to the green box
When the page is scrolled vertically, the panel should
stick to the bottom of the green box first,
then disappear beyond the bottom edge of the green box as it touches the red area
but never cover the red area or go beyond the upper edge of editor mock–up.
Horizontal scrolling
The panel should always fit horizontally within the editor mock–up, regardless of the position of the h– and v–scrolls of the web page.
On–load positioning
Scroll the web page vertically and horizontally, so the panel is sticky.
Reload the web page.
The panel should get sticky as the page reloads, if the position of scrollbars and the geometry of the viewport creates such a need.