Skip to content

Commit

Permalink
feat: createSelectorQuery MethodscrollOffset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Dec 4, 2019
1 parent 493e42b commit e8af0a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taro-h5/src/api/createSelectorQuery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ function filter (fields, dom, selector) {
if (scrollOffset) {
res.scrollLeft = dom.scrollLeft
res.scrollTop = dom.scrollTop
res.scrollHeight = dom.scrollHeight
res.scrollWidth = dom.scrollWidth
}
if (properties.length) {
properties.forEach(prop => {
Expand Down

0 comments on commit e8af0a8

Please sign in to comment.