jellekralt / angular-drag-scroll

Lightweight drag to scroll directive for AngularJS
MIT License
35 stars 27 forks source link

Can't focus text input #21

Open rob1durand opened 7 years ago

rob1durand commented 7 years ago

I have a scrollable table (smart-table) and want to use drag-scroll on it, but when i set drag-scroll="true" attribute on the table i can't focus my "st-search" input to make a search on the table element :

image

I tried to put drag-scroll="false" on the specified input but it's not working.. Their is any solution for that ? (sorry for bad english)

Best regards, Robin

donlinmi commented 7 years ago

Hi Robin,

You could remove e.preventDefault() and e.stopPropagation() from the angular-drag-scroll source to allow the mouse down event to hit against your input.