![](/img/trans.png)
[英]How to customize malihu-custom-scrollbar-plugin in ReactJS?
I'm using malihu-custom-scrollbar-plugin in my ReactJS project, I can customize the scroll bar by editing the css in node_modules, the problem here ...
[英]How to customize malihu-custom-scrollbar-plugin in ReactJS?
I'm using malihu-custom-scrollbar-plugin in my ReactJS project, I can customize the scroll bar by editing the css in node_modules, the problem here ...
[英]How to change Malihu Custom Scrollbar snapAmoun on resize?
在這種情況下我如何更新 snapAmount? 例如,如果窗口的寬度超過 1200 像素和 10 像素,如果它在調整大小時低於 10 像素,我希望它是 300 像素。 我嘗試過 onUpdate 回調,但它不起作用,我閱讀了文檔並嘗試了幾乎所有內容,但找不到解決方案。 請幫忙。 ...
[英]How to add modules in test for imports-loader configuration
當我將舊版 webapp 轉換為基於 webpack 的應用程序時,它使用mCustomScrollbar 。 根據 mCustomScrollbar 的文檔,要使用 webpack 運行需要使用導入加載器。 但是 doc 中給出的語法與舊版本的 webpack 兼容,而不是最新版本。 根據imp ...
[英]show menu to the top using jquery or javascript
我在我的項目中左側導航包含一個帶有菜單的滾動問題是,當我打開一個菜單時,子菜單項會顯示,並且某些項目 go 在我們必須滾動后隱藏。 所以我想在打開菜單時在頂部顯示菜單顯示在頂部不需要滾動用戶所以如何實現; 例如: ...
[英]jqgrid Cannot read property 'rows' of undefined
我試圖在我的jqgrid表中添加一個自定義滾動條,在 loadComplete 方法上,像這樣: $(".ui-jqgrid-bdiv").mCustomScrollbar(); 它對我來說很好用,但如果列凍結,我會收到此錯誤: Cannot read property 'rows' of und ...
[英]malihu custom scrollbar puts <div class='mCSB_draggerRail'></div> in wrong place on electron
malihu 自定義滾動條將<div class='mCSB_draggerRail'></div>放在 electron 上的錯誤位置。 我查看了瀏覽器中的版本,它工作得很好。 HTML 它生成的代碼如下所示:<div class="servers-contain ...
[英]Getting jQuery plugin mCustomScrollbar is not a function error with Webpack setup
我們有 Gulp/jQuery 的前端開發環境,並試圖在 Webpack 上遷移它。 在運行我們的新設置時,瀏覽器顯示 jquery.mCustomScrollbar 插件出現以下控制台錯誤: 我們嘗試在我們的主包中使用以下方式導入它,但它仍然不起作用: ...
[英]How can i use mCustomScrollbar instead of the default browser scrollbar?
我使用了這段代碼: mcustomscrollbar 作用於其他元素。 但不適用於主體或 html 元件! ...
[英]TinyMCE editor prevents bubbling of scroll events
我在具有自定義滾動條(通過 mCustomScrollbar)的容器中使用 TinyMCE,但是當我嘗試在編輯器上滾動時,滾動卡住了。 這是一個演示它的小提琴(嘗試使用鼠標滾輪滾動它): https : //jsfiddle.net/moaLsfnv/ 有沒有辦法讓編輯器冒泡所有滾動事件? ...
[英]scroll one element at a time using mcustomscrollbar
如何使用mCustomScrollbar確保在滾動元素時一次一個元素。 我有以下HTML。 滾動ul只能滾動一個li,即沒有元素可以跳過滾動。 ...
[英]Custom select (Nice select) with custom scrollbar (mCustomScrollbar)
我是新來的人,遇到了無法解決的問題。 我使用不錯的選擇進行了自定義選擇,效果很好,然后又添加了mCustomScrollbar ,它也可以正常工作,問題是當我只想使用鍵盤時,我先使用TAB聚焦,然后按向下箭頭(或空格鍵,輸入,向上箭頭)在其中顯示選項,一旦您繼續使用箭頭向下滾動,滾動條就不 ...
[英]How to set the width of mCustomScrollbar using CSS
我正在嘗試通過按文檔中所述設置.mCSB_dragger的寬度來增加滾動條的寬度。 但是滾動條的寬度保持不變。 $('#container1').mCustomScrollbar({ theme:"dark-3" }); $(document).on('click', '.pa ...
[英]Scroll - On click not able to scroll the custom scroll inside fixed sidebar
我做了一個固定的側邊欄並應用了自定義滾動條(iemcustomscrollbar),但是我想在單擊anchor標簽時(在手風琴內部)我想在側邊欄頂部滾動手風琴,為此我使用了相同的工具當側邊欄不粘時將正文或html滾動到單擊的元素頂部位置時使用的代碼。 我做錯了什么? 不粘 如果 ...
[英]two scrolls get triggered at once
我目前一直在項目上使用jQuery Custom Scrollbar。 我有一個帶滾動條的主div,另一個有帶滾動條的小div。 每當滾動小div時,當滾動條遇到內容結尾時,它都會觸發主div滾動。 滾動小div時如何防止主div滾動? 干杯。 ...
[英]Selenium: horizontal scroll using Actions class
我已嘗試通過Selenium操作以及Javascript Executor在我的網頁上訪問此自定義滾動條。 滾動條僅滾動500像素,實際上我希望它在整個寬度上滾動。 任何幫助表示贊賞。 以下是我目前的代碼段: 我也嘗試過以下解決方案,但仍然無法解決: 提前致謝!!! ...
[英]mCustomScrollbar scrollButtons - scrolltype: “stepped”
有沒有人遇到設置“ scrollButtons:{scrollType:“ stepped”}}按鈕在觸摸設備上不起作用的問題?代碼: ...
[英]Custom horizontal scroll with animate.css
我有一些代碼: $(window).load(function(){ // Horizontal scroll if($(".js-page-scroll").length){ $(".js-page-scroll").mCustomScrollbar({ axis:"x", t ...
[英]jqgrid top header not moving with left scroll , when used mCustomScrol(v3.1.5)
我正在嘗試在jqgrid(4.9.2)上使用mCustomScrollbar。 滾動條的設計正在更改,但是在水平滾動時,頂部標題不會像往常一樣移動。 我正在嘗試的示例是可折疊網格。 而對於mCustomScroll 在jqgrid上根本無法使用任何自定義滾動條嗎? ...
[英]mCustomScrollbar don't update after add new element
這是我在jsfiddle的完整代碼。 在通過jquery添加新列表元素之后,我使用update滾動條更新了新列表,但是新列表溢出了ul將其存儲起來。 此代碼可動態創建列表元素(jsfiddle中的第46-50行): 這段代碼更新mcustom滾動條(jsfiddle中的第52-6 ...
[英]Can't make an element scroll while scrolling to this element overlay
我在特定區域上使用mcustomscrollbar插件,當我向該元素添加覆蓋時遇到問題,我無法滾動under元素。 我只能在藍色區域上滾動,我也想滾動另一個區域。 我試圖觸發mousewheel event ,但是沒有運氣。 任何幫助都非常感謝! 這是我的問題的摘要: ...