Skip to content

Is it possible to create css3 animation using this library ?.Β #334

Open
@kopax

Description

@kopax

Summary:

I really like theses modal for their Effects: http://xue2han.github.io/react-dynamic-modal/

An effect look like this :

export const ScaleUp = {
      transition : {
         property : 'all',
         duration : 300,
         timingfunction : 'linear'
      },
      begin : {
	      'transform': 'scale(0.7)',
	      'opacity': 0
      },
      end : {
      	'transform': 'scale(1)',
      	'opacity': 1
      }
}

It provides animation, unfortunately, the way it is made doesn't work well with styled-components context.

Is it possible using react-modal to have that kind of result?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions