Skip to content

Commit

Permalink
fix: disable play model container pointer event close #351
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Apr 21, 2021
1 parent 1c7b9f7 commit 7f4e19e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ const PlayerWithNoSSR = dynamic(() => import('../components/Player'), {
git clone https://github.com/lijinke666/react-music-player.git
yarn # npm install
yarn start # npm start
open `http://localhost:8081/`
open `http://localhost:8084/`
```

## :hourglass: Test case
Expand Down
4 changes: 4 additions & 0 deletions src/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,14 @@
transform-origin: bottom center;
z-index: @mode-tip-z-index;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: all @common-animate-time;

&.play-mode-title-visible {
opacity: 1;
visibility: visible;
pointer-events: all;
transform: translate3d(0, 0, 0);
}
}
Expand Down

0 comments on commit 7f4e19e

Please sign in to comment.