Fixed mask event handling for iPhone/iPad
This commit is contained in:
parent
c0847d6f52
commit
24ef85db50
@ -194,7 +194,7 @@ Clipperz.PM.UI.Components.Panels.MainPanel = React.createClass({
|
|||||||
classes[this.style()] = true;
|
classes[this.style()] = true;
|
||||||
|
|
||||||
return React.DOM.div({'key':'mainPanel', 'id':'mainPanel', 'className':React.addons.classSet(classes)}, [
|
return React.DOM.div({'key':'mainPanel', 'id':'mainPanel', 'className':React.addons.classSet(classes)}, [
|
||||||
React.DOM.div({'className':'mask', 'onClick': this.handleMaskClick}),
|
React.DOM.div({'className':'mask', 'onClick':this.handleMaskClick, 'onTouchEnd':this.handleMaskClick}),
|
||||||
React.DOM.div({'className':'container'},
|
React.DOM.div({'className':'container'},
|
||||||
// this.style() == 'extra-wide' ? this.renderExtraWide() : this.renderOther()
|
// this.style() == 'extra-wide' ? this.renderExtraWide() : this.renderOther()
|
||||||
this.renderLayout(this.style())
|
this.renderLayout(this.style())
|
||||||
|
Loading…
Reference in New Issue
Block a user