Add scroll events for input fields
Issue
@@ -142,6 +142,7 @@ function genComponentConf() {
<div class="cis__details" ng-if="self.showDetail">
<!-- DESCRIPTION -->
<won-description-picker
+ ng-click="self.onScroll()"
ng-if="self.openDetail === 'description'"
initial-description="::self.draftObject.description"
on-description-updated="::self.updateDescription(description)">
@@ -163,6 +164,7 @@ function genComponentConf() {
<!-- TAGS -->
<won-tags-picker
+ ng-click="self.onScroll()"
ng-if="self.openDetail === 'tags'"
initial-tags="::self.draftObject.tags"
on-tags-updated="::self.updateTags(tags)">
@@ -170,6 +172,7 @@ function genComponentConf() {
<!-- TTL -->
<won-ttl-picker
+ ng-click="self.onScroll()"
ng-if="self.openDetail === 'ttl'"
initial-ttl="::self.draftObject.ttl"
on-ttl-updated="::self.updateTTL(ttl)">
@@ -411,6 +414,11 @@ function genComponentConf() {
this.updateDraft();
}
+ updateScroll() {
+ console.log("Scoll activity");
+ this.onScroll();
+ }
+
pickImage(image) {
this.draftObject.thumbnail = image;
}
