Toast-PhoneGap-Plugin icon indicating copy to clipboard operation
Toast-PhoneGap-Plugin copied to clipboard

showShortTop() / longTop() shows on center

Open hirbod opened this issue 7 years ago • 1 comments

Expected behaviour

Should show on top

Actual behaviour

Shows on center

I'm seeing this behaviour on

  • [x] iOS device
  • [x] iOS sim
  • [x] Android device
  • [x] Android sim

Hardware models

Example: Samsung Galaxy S6 Edge, iPhone 6

OS versions

Example: Android 5, iOS 9.3

I'm not a dummy, so I've checked these

  • [x] It happens on a fresh Cordova CLI project as well.
  • [x] I'm waiting for deviceready to fire.
  • [x] My JavaScript has no errors (window.onerror catches nothing).

hirbod avatar Sep 08 '16 11:09 hirbod

   window.plugins.toast.showShortTop($scope.trans.LINK_COPIED_TO_CLIPBOARD);

hirbod avatar Sep 08 '16 11:09 hirbod