Fixing preventDefault for the TaskComment's paginator