GithubHelp home page GithubHelp logo

Comments (4)

einazare avatar einazare commented on September 26, 2024 1

Hello there @eleventhaus,

Thank you for your interest in working with our products.
If you do not want to have animation on NavPills, go inside and change (lines 84-98):

<div className={classes.contentWrapper}>
        <SwipeableViews
          axis={direction === "rtl" ? "x-reverse" : "x"}
          index={this.state.active}
          onChangeIndex={this.handleChangeIndex}
        >
          {tabs.map((prop, key) => {
            return (
              <div className={classes.tabContent} key={key}>
                {prop.tabContent}
              </div>
            );
          })}
        </SwipeableViews>
      </div>

with

<div className={classes.contentWrapper}>
        {tabs.map((prop, key) => {
          if (key === this.state.active) {
            return (
              <div className={classes.tabContent} key={key}>
                {prop.tabContent}
              </div>
            );
          }
          return null;
        })}
      </div>

I'll speak with the board if this is something we should add on our product as well, for our next updates.

Best,
Manu

from ct-material-kit-pro-react.

eleventhaus avatar eleventhaus commented on September 26, 2024 1

Also, to note, when using NavPills (without implementing the fix above to remove animation) the shadow on the card elements is cut off by the gridcontainer. Something to consider with regards to styling.

Default NavPills
screen shot 2019-01-09 at 2 16 22 pm

NavPills without animation
screen shot 2019-01-09 at 2 16 38 pm

from ct-material-kit-pro-react.

einazare avatar einazare commented on September 26, 2024 1

Hello again, @eleventhaus

Thank you for sharing this with us.
We'll see what we can do, in our next updates.

Best,
Manu

from ct-material-kit-pro-react.

eleventhaus avatar eleventhaus commented on September 26, 2024

TY

from ct-material-kit-pro-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.