Navigation

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

    zabojad

    @zabojad

    0
    Reputation
    10
    Posts
    1087
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    zabojad Follow

    Posts made by zabojad

    • RE: ons-navigator and slide animation from right to left

      @jamal For your information, this has been addressed in https://github.com/OnsenUI/OnsenUI/pull/2284

      posted in Onsen UI
      Z
      zabojad
    • RE: Button in Tappable ListItem issue

      For anyone else wondering about the same thing => https://github.com/OnsenUI/OnsenUI/pull/2267

      posted in Onsen UI
      Z
      zabojad
    • Button in Tappable ListItem issue

      I have a Button in a tappable ListItem. How can I prevent the ListItem to “react” to touch when the Button is pressed? I’ve tried catching and calling preventDefault() and stopPropagation() on the events returned by onTouchTap and onMouseDown on the Button but without success… The ListItemstill reacts when pressing the Button.

      posted in Onsen UI
      Z
      zabojad
    • RE: ons-navigator and slide animation from right to left

      @Fran-Diox really, such basic configuration behavior should be supported without needing to make a custom animator… With the react bindings of Onsen UI, resetPageStack is our only way to make a “pop until” functionnality… And showing a pop animation rather than a push would be more logical in that case…

      Could this be added through a PR?

      posted in Onsen UI
      Z
      zabojad
    • RE: Splitter

      @Fran-Diox try setting collapse to false (the boolean value, not a string) and you’ll see that the SplitterSide cannot be closed…

        render: function() {
          return (
            <Ons.Splitter>
              <Ons.SplitterSide
                style={{
                    boxShadow: '0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)'
                }}
                side='left'
                width={200}
                collapse={false}
                swipeable={true}
                isOpen={this.state.isOpen}
                onClose={this.hide}
                onOpen={this.show}
              >
      

      IMO, it should make it not overlaying the SplitterContent but still with keeping the possibility to close / swipe it.

      posted in React
      Z
      zabojad
    • ons-navigator and slide animation from right to left

      With the ons-navigator, what value can I give to options.animation to have a slide from right to left (animator.pop and not animator.push) when using resetPage? It would be a popToPage functionnality which is needed in many cases…

      posted in Onsen UI
      Z
      zabojad
    • RE: Navigator

      There are several things that do not seem OK with this component:

      -> Where do we get back the options.data passes as second parameter of the pushPage method?

      -> there should be all core ons-navigator component methods available on Navigator like: insertPage(index, page, [options]), removePage(index, [options]), resetToPage(page, [options]), bringPageTop(item, [options])…

      -> What is the difference between Navigator and RouterNavigator? Their documentations are identical?!

      -> Ideally, it should be possible to make it work with the excellent react-router lib…

      posted in React
      Z
      zabojad
    • RE: None of the examples work on the onsenui react API documentation

      Thanks, I confirm it now works.

      Problem: “Topic Tools” does not propose me to mark this topic as solved. Why?

      posted in Onsen UI
      Z
      zabojad
    • RE: Splitter

      I do not understand the use of this component when collapse is set to true. The SplitterSide cannot be closed when collapse is true…

      posted in React
      Z
      zabojad
    • None of the examples work on the onsenui react API documentation

      More a bug report than a discussion though: https://onsen.io/v2/api/react

      posted in Onsen UI
      Z
      zabojad