我正在开发一个Ionic应用程序,我有一些问题要让
FAB Speed Dial正常工作.此组件位于特定页面,用户应在打开上述页面之前浏览2页.加载页面时,Fab Speed Dial打开,单击时没有任何反应.如果我只刷新此页面(使用离子服务),则组件正常工作:
<ion-nav-buttons side="right"> <div> <md-fab-speed-dial md-open="fab.isOpen" md-direction="down" class="md-fling"> <md-fab-trigger> <md-button aria-label="menu" class="md-fab bk-marrom1"> <md-icon md-svg-src="img/icon-more-horiz.svg" style="width:30px; height:30px"></md-icon> </md-button> </md-fab-trigger> <md-fab-actions> <md-button aria-label="Telefonar" class="md-fab md-raised md-mini bk-marrom2"> <md-icon md-svg-src="img/icon-phone.svg" aria-label="Telefonar"></md-icon> </md-button> <md-button aria-label="E-mail" class="md-fab md-raised md-mini bk-laranja-light"> <md-icon md-svg-src="img/icon-mail-outline.svg" aria-label="E-mail"></md-icon> </md-button> <md-button aria-label="Compartilhar" class="md-fab md-raised md-mini bk-marromsub"> <md-icon md-svg-src="img/icon-share.svg" aria-label="Compartilhar"></md-icon> </md-button> </md-fab-actions> </md-fab-speed-dial> </div> </ion-nav-buttons>
我在控制台中没有例外,只有这个警告:
Deferred long-running timer task(s) to improve scrolling smoothness. See crbug.com/574343.
compile: function(element,attributes) { var children = element.children(); -> this is the line with long-running timer task . . . }
有人可以帮我解决这个问题吗?
解决方法
这是一个针对WebView和移动设备的Chrome的开放式错误:
https://bugs.chromium.org/p/chromium/issues/detail?id=574343.您可以针对您的问题跟踪此错误的进度