creativetimofficial / ct-material-dashboard-pro-angular

68 stars 35 forks source link

datatable click event problem #392

Closed luis-cosillo closed 3 years ago

luis-cosillo commented 3 years ago

Version

2.6.0

Reproduction link

https://user-images.githubusercontent.com/11168170/134721286-260359ff-9c7b-4ba7-87c2-80a71a6fcff1.mp4

Operating System

windows 10

Device

Mobile

Browser & Version

Chrome 93.04577.82

Steps to reproduce

  1. create void in datatable.component.ts of the original template to download, with a message to console. 2.in the html in the delete button from the table, add the ng-click pointing to the created void. 3.run the application and from a pc verify that it sends the message to the console. 4.verify on any mobile device that the delete button from a row sends the message to the console 5.inspect the delete element from the datatable, and check if the button click event appears in the event.listener

    What is expected?

    what is expected to execute the functions that are placed in the ng-click that if it is executed in a pc but when passing it to mobile in the original template it does not execute. Use the original downloaded template to reproduce the error.

    What is actually happening?

    when I inspect the button of a datatable, and check the event.listeners the event click on mobile was removed in some functionality of the template they removed it.


Solution

Additional comments

I bought the template and I am using it for a project, but the click event when viewing the datatables on mobile phones does not run. When I review, I see that the problem is that when viewing it on a mobile phone in the event.listeners, the click event was eliminated.

As you will see in the video when checking in the event.listener the event was eliminated when wanting to see the template in a mobile. And I need to execute a code that is in the typescript file

You can help me by indicating where I can see in the template that I buy that does not eliminate the events of the td-actions column

https://user-images.githubusercontent.com/11168170/134721286-260359ff-9c7b-4ba7-87c2-80a71a6fcff1.mp4

github-actions[bot] commented 3 years ago

@luis-cosillo this issue was automatically closed because it did not follow the bellow rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/material-dashboard-pro-angular2

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com