Popover not working in ngx-bootstrap 1.9.2 - popover

I am using Angular5 + bootstrap 3.3.7 + ngx-bootstrap 1.9.2.
Modal popup is working fine but popover is not working anymore.
I have included ref in app module.
import { PopoverModule } from 'ngx-bootstrap/popover';
PopoverModule.forRoot
Can someone help me?

Related

I'm having trouble to scroll a page using capybara

I've tried to scroll a page using:
page.execute_script "window.scrollBy(0,10000)"
But the page simply doesn't scroll.
The url i'm trying to scroll is https://next.me/propostas
Can anyone help me? I'm newer to Ruby and Capybara, thanks

Value of type "WKWebView" has no member "scrollView"

I'm trying to get the scrollView of my WKWebView, but Xcode tells me that WKWebView has no such member.
let webview = WKWebView();
let sv = webView.scrollView
However, on this reference page, scrollView is clearly a member of WKWebview.
How can I get this scrollView?
The final goal of this is to totally disable scrolling and hide scrollbars in my view. Is there any way of doing it without using the WKWebView's scrollView?
EDIT: I've achieved this by modifying the css of the loaded page. The ScrollView problem is still here though.
I'm using Xcode 8.1 on OSX 10.11.6.
Any help would be greatly appreciated.
EDIT: import WebKit is already present in my code, and my webview otherwise works very well. The only problem is the scrollview.
EDIT 2: I'm making an OSX-only app.
EDIT 3: It seems I was missing the fact ScrollView is iOS-only.
Thus, the problem isn't a really a problem anymore.
I will keep this question open to let anyone post a more "swift-style" solution than using CSS.
Make sure you import UIKit and import WebKit at the top of your source file.

Android back button issue in Onsen UI with UI-Router

I tried this example in my Cordova app with onsen-ui and ui-router
UI-Router with Onsen-UI
http://codepen.io/argelius/pen/WveKKO
Everything works fine till I click the Android back button from page 2 or page 3, the transition won't work any more.
Is it possible to make the above sample working with Android back button?
Thanks.

Button under the current page getting clicked/tapped in sencha touch

I'm using sencha touch 2.3.1
I have a button on a page and clicking it will open a new page (above the current page).
But when I click/tap on the new page in the region where the button is ( in the original page ) , the button is still getting clicked.
And a new view of the same page is being opened.
I'm facing this problem only in windows phone, it works fine in android, IOS and all browsers (including IE) through IIS. I'm using the tap event for this button.
Please help me resolve this.
Thank you.
Sounds like your issue is similar to this bug I've reported a while back:
http://www.sencha.com/forum/showthread.php?237550-2.1-Tap-event-is-passed-to-the-textfield-in-new-view
The workaround which has been working for me is adding e.stopEvent(); to the tap handler of the component the user is tapping on.

Webview Load to touch

Hello Im New in Xcode Development and i try to make a Easy app
My App:
my mobile app have 5 Tabs, All the tabs have Webview and the problem is to load the app,
Everything works very slow.
I have seen some applications when changing tab load the Webview.
anyone can help me with this.
Sorry for my English i use Google translate.
Thanks.
#user1744203 I can get u now. You can call all the Tab actions in MainViewController then all the actions will be loaded then this reduces the loading time.Still having problem then you can use jQuery which traverse HTML documents speedly...
Maybe this click on this link can help you in fixing jQuery
Hope this Helps!!!!

Resources