A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/e7f8f34 below:

fix events when ripple is on (#1532) · vuematerial/vue-material@e7f8f34 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+6

-9

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+6

-9

lines changed Original file line number Diff line number Diff line change

@@ -64,27 +64,24 @@

64 64

on: {

65 65

...this.$listeners,

66 66

touchstart: event => {

67 -

if (!this.rippleWorks) {

68 -

return false

67 +

if (this.rippleWorks) {

68 +

this.rippleActive = event

69 69

}

70 70 71 -

this.rippleActive = event

72 71

this.$listeners.touchstart && this.$listeners.touchstart(event)

73 72

},

74 73

touchmove: event => {

75 -

if (!this.rippleWorks) {

76 -

return false

74 +

if (this.rippleWorks) {

75 +

this.rippleActive = event

77 76

}

78 77 79 -

this.rippleActive = event

80 78

this.$listeners.touchmove && this.$listeners.touchmove(event)

81 79

},

82 80

mousedown: event => {

83 -

if (!this.rippleWorks) {

84 -

return false

81 +

if (this.rippleWorks) {

82 +

this.rippleActive = event

85 83

}

86 84 87 -

this.rippleActive = event

88 85

this.$listeners.mousedown && this.$listeners.mousedown(event)

89 86

}

90 87

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4