8
0
Просмотр исходного кода

Update src/ui/mentionsview.js

Co-Authored-By: jodator <jodator@gmail.com>
Aleksander Nowodzinski 6 лет назад
Родитель
Сommit
753ac371a7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-mention/src/ui/mentionsview.js

+ 1 - 1
packages/ckeditor5-mention/src/ui/mentionsview.js

@@ -121,7 +121,7 @@ export default class MentionsView extends View {
 	//
 	// The item is considered visible when:
 	// - its top boundary is inside the scrollable rect
-	// - its bottom line is inside scrolled rect (whole item must be visible)
+	// - its bottom boundary is inside the scrollable rect (the whole item must be visible)
 	_isItemVisibleInScrolledArea( item ) {
 		const isBottomLineVisible = item.element.offsetTop + item.element.clientHeight <= this.element.clientHeight;
 		const isTopLineVisible = item.element.offsetTop >= this.element.scrollTop;