Skip to content

Не отрабатывает pointerclick на мобильном устройстве #1253

Open
@JiLiZART

Description

@JiLiZART

bem-core 2.8.0
Дестктоп Google Chrome 48.0.2564.82
Мобильник iPhone 4, Google Chrome 47.0.2526.107

Имеем такой код блока.

        provide(BEMDOM.decl(this.name, /** @lends Footer.prototype */{
            _onMenuClick: function (e) {
                alert('menu');
            }
        }, /** @lends Footer */{
            live: function () {
                this.liveBindTo('menu', 'pointerpress', this.prototype._onMenuClick);
                this.liveBindTo('menu', 'pointerclick', this.prototype._onMenuClick);

                return this.__base.apply(this, arguments);
            }
        }));

На десктопе все отрабатывает отлично, в режиме эмуляции мобильного устройства тоже все прекрасно.
На мобильнике, pointerpress отрабатывает, alert выводится, а вот pointerclick молчит

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions