Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Fran Diox
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Fran Diox

    @Fran Diox

    Onsen UI

    https://twitter.com/frandiox

    122
    Reputation
    956
    Posts
    15223
    Profile views
    26
    Followers
    1
    Following
    Joined Last Online
    Website frandiox.com Location Tokyo

    Fran Diox Follow
    侍 guest-publishers publishers Monaca Onsen UI administrators

    Posts made by Fran Diox

    • RE: Accessing Vue-data while in $ons.notification

      @Bassie JavaScript issue: Use an arrow function instead. Normal functions create new contexts but arrow functions don’t.

      posted in Onsen UI
      Fran Diox
    • RE: OnsenUI React + jQuery Touch Punch conflict.

      @Paweł-Wojtaszko There is currently a compatibility issue with some drag-related libs. Check this topic for more info https://community.onsen.io/topic/2989/unable-to-disable-ons-splitter-side-gesture-detector

      posted in Onsen UI
      Fran Diox
    • RE: Unable to disable ons-splitter-side Gesture Detector

      @CNaik Can you try without tappable and ripple effects? I’m not really sure why :confused:

      posted in Onsen UI
      Fran Diox
    • RE: how to reduce tab swipe sensitive when scrolling

      @chang the “auto scroll ratio” is based on screen size and swipe velocity, meaning that if you move your finger fast it is more likely that the swipe will take effect than if you move it slowly. There is not public API to modify this but you can always override the behavior by adding some custom code. You can modify myTabbar._getAutoScrollRatio property and add a function that returns a decimal value between 0 and 1. If you return, for example, 0.8, it means you need to swipe at least 80% of the view to change the page. The original code is here.

      posted in Onsen UI
      Fran Diox
    • RE: OnSen UI <ons-if> component

      @writeosahon For responsive design, you can just use traditional CSS with media queries. They are powerful enough so there is no need to replace them with any custom element in my opinion :no_mouth:

      posted in Onsen UI
      Fran Diox
    • RE: jQuery selector not working for

      @Zeni close is a method of the element itself, not of the jQuery wrapper. Try $('#menu')[0].close();.

      posted in Onsen UI
      Fran Diox
    • RE: Importing Onsen-UI with ES6

      @Elad-Karni Notification is creating either on-alert-dialog/ons-alert-dialog-button or ons-toast so you also need to import those. If you are using the latest version, aren’t you getting an error informing about this?

      posted in Onsen UI
      Fran Diox
    • RE: Unable to disable ons-splitter-side Gesture Detector

      @CNaik Oh! The navigator also has a GestureDetector now for the swipe-to-pop functionality. You can access it the same way as the splitter: myNavigator._swipe.gestureDetector.

      Hmm, maybe we should remove the gesture detector if the swipeable attribute is removed…

      posted in Onsen UI
      Fran Diox
    • RE: How to use splitter and navigation with a page that does not need the lateral menu?

      @h3nr1ke You just need to remove the swipeable attribute in the splitter-side and add it back whenever you need it (after logging in) :thumbsup:

      posted in Onsen UI
      Fran Diox
    • RE: Cannot interact with DOM while ons-action-sheet is active

      @Bassie What is the error? Can you print stuff in the then part?

      posted in Onsen UI
      Fran Diox