Open MichaelFromin opened 6 years ago
@MichaelFromin Already spend more than few hours just trying to figure out why the event was not emitting. Thank you very much.
In .hand's CSS setting there is:
pointer-events:none;
With that CSS setting you don't seem to be able to click on a card inside the .hand div. This seems like an error?
If you follow that book step by step you will come cross this problem. The author seems to forget to remind the readers that this rule can be switch to normal state by:
.can-play .hand {
pointer-events: all
}
With that CSS setting you don't seem to be able to click on a card inside the .hand div. This seems like an error?