Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't focus text input #21

Open
rob1durand opened this issue Apr 27, 2017 · 1 comment
Open

Can't focus text input #21

rob1durand opened this issue Apr 27, 2017 · 1 comment

Comments

@rob1durand
Copy link

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
Copy link

donlinmi commented Jul 4, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants