浏览代码

Merge pull request #7553 from wenzhixin/fix/6379

Added note for virtualScroll option
文翼 1 年之前
父节点
当前提交
c04c6aab14
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 3 1
      Gemfile
  2. 2 0
      site/docs/api/table-options.md

+ 3 - 1
Gemfile

@@ -1,11 +1,13 @@
 source 'https://rubygems.org'
 
 group :development, :test do
-  gem 'jekyll', '~> 3.8.5'
+  gem 'jekyll'
   gem 'jekyll-redirect-from', '~> 0.14.0'
   gem 'jekyll-sitemap', '~> 1.2.0'
   gem 'jekyll-toc', '~> 0.9.1'
   gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
+  gem "webrick"
+  gem "kramdown-parser-gfm"
 end
 
 group :jekyll_plugins do

+ 2 - 0
site/docs/api/table-options.md

@@ -1976,6 +1976,8 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 
   Set `true` to enable virtual scroll to display a virtual, "infinite" list.
 
+  **Note:** Currently, the implementation assumes that each line has the same height. If the heights of the lines vary, unpredictable bugs may occur. Please ensure that the height of each line is consistent, or apply the style `td { white-space: nowrap; }` to address this issue.
+
 - **Default:** `false`
 
 - **Example:** [Large Data](https://examples.bootstrap-table.com/#options/large-data.html)