File tree 2 files changed +6
-16
lines changed
2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 1
1
2
- React Stack Modal
2
+ React Stack Modal(WIP)
3
3
----
4
4
5
5
Demo http://ui.talk.ai/react-stack-modal
@@ -8,22 +8,9 @@ Demo http://ui.talk.ai/react-stack-modal
8
8
9
9
### Develop
10
10
11
- You need a static file server for the HTML files. Personally I suggest using Nginx.
11
+ Project template:
12
12
13
- ``` bash
14
- npm i
15
- gulp dev
16
- ```
17
-
18
- Build (Pack and optimize assets, add hashes and put entries in ` index.html ` ):
19
-
20
- ``` bash
21
- NODE_ENV=static gulp build # not minified
22
- npm run static
23
-
24
- NODE_ENV=ws gulp build
25
- npm run ws
26
- ```
13
+ https://github.com/teambition/coffee-webpack-starter
27
14
28
15
### License
29
16
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ module.exports = React.createClass
44
44
@props .onEsc @props .modals , event
45
45
46
46
onWindowClick : (event ) ->
47
+ if event .target is window
48
+ # events mocked by lite-dropdown, lite-popover, don't respond
49
+ return
47
50
@props .onWindowClick @props .modals , event
48
51
49
52
onContentClick : (modal , event ) ->
You can’t perform that action at this time.
0 commit comments