Make dropdowns render into portal, expand animation (#5018)
* Make dropdowns render into portal, expand animation * Improve actions modal style
This commit is contained in:
		
							parent
							
								
									0df6442636
								
							
						
					
					
						commit
						034fab39ab
					
				
					 7 changed files with 303 additions and 263 deletions
				
			
		| 
						 | 
				
			
			@ -52,7 +52,7 @@ export default class UI extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
  static contextTypes = {
 | 
			
		||||
    router: PropTypes.object.isRequired,
 | 
			
		||||
  }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  static propTypes = {
 | 
			
		||||
    dispatch: PropTypes.func.isRequired,
 | 
			
		||||
| 
						 | 
				
			
			@ -183,14 +183,18 @@ export default class UI extends React.PureComponent {
 | 
			
		|||
    document.removeEventListener('dragend', this.handleDragEnd);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  setRef = (c) => {
 | 
			
		||||
  setRef = c => {
 | 
			
		||||
    this.node = c;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  setColumnsAreaRef = (c) => {
 | 
			
		||||
  setColumnsAreaRef = c => {
 | 
			
		||||
    this.columnsAreaNode = c.getWrappedInstance().getWrappedInstance();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  setOverlayRef = c => {
 | 
			
		||||
    this.overlay = c;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  render () {
 | 
			
		||||
    const { width, draggingOver } = this.state;
 | 
			
		||||
    const { children } = this.props;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue