UIKeyboardEventArgs onkeydown onkeypress,在Windows机器上工作正常,但在移动设备上工作不正常

时间:2019-07-09 22:23:44

标签: asp.net-core iis-10 blazor

在Blazor Server Side中,我使用OnkeyDown或onkeypress,它在开发中运行良好,但是在使用iss的生产中,它在Windows计算机中仍然运行良好,但在我的android mobile中却无法运行,当输入密钥时没有任何反应,或者身份不明,我尝试了所有浏览器

<input @onkeydown="@WithKey"    />

和代码

            if (ItemSearch != null)
            {
                ItemSearch += e.Key;
            }

        if (ItemSearch == null)
        {
            ItemSearch = e.Key;
        }
        conceptos = GetConceptos().Where(i => i.Name.ToLower().Contains(ItemSearch.ToLower())).ToList();

0 个答案:

没有答案
相关问题