# \[Android\] 主题控制下拉菜单激活键盘

**URL:** https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219
**Category:** Bug
**Created:** [2018年三月30日 11:33 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219 "2018-03-30T11:33:35Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [2018年三月30日 11:33 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/1 "2018-03-30T11:33:35Z")

</div>

One of my users notified me that when you use Android and activate the “topic control”-dropdown, the keyboard activates, even though you can’t input anything anywhere. I confirmed it on my S8+ with Oreo using Chrome.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2018年三月30日 16:04 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/2 "2018-03-30T16:04:18Z")

</div>

I can repro this as well. Not just “Topic Controls” but also the notification state controls. cc @j.jaffeux.

---

<div class="post-metadata">

### Author: ![daath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daath/32/115536_2.png) [@daath](https://meta.discourse.org/u/daath)
#### Post date: [2018年三月30日 18:23 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/4 "2018-03-30T18:23:39Z")

</div>

As a side note, pressing the wrench icon brings up admin tools (if you’re admin) - doesn’t look like you can fold that one back, and it looks weird when scrolling over a youtube onebox (the title of the youtube box is over the admin panel)…

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018年四月10日 14:25 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/6 "2018-04-10T14:25:29Z")

</div>

Fixed by

[https://github.com/discourse/discourse/commit/11c47f57f9458422467da8ba6d690d6a31cfa1c0](https://github.com/discourse/discourse/commit/11c47f57f9458422467da8ba6d690d6a31cfa1c0)

Thanks.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018年四月10日 14:25 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/7 "2018-04-10T14:25:37Z")

</div>



---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2018年八月9日 01:48 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/9 "2018-08-09T01:48:46Z")

</div>



---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2018年八月9日 01:49 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/10 "2018-08-09T01:49:39Z")

</div>

This has reverted for me on Android / Chrome 68 and Chrome 68 Beta - when selecting Topic Controls or Tracking options the keyboard pops up.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2018年八月9日 01:54 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/11 "2018-08-09T01:54:24Z")

</div>

Also affects:

- all drop downs in the topic timer modal
- the category and tag drop downs in the composer
- category, subcategory, and tag filters above the topic list
- time range selector above /top and /u

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年八月9日 04:45 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/12 "2018-08-09T04:45:32Z")

</div>

Still pretty narrow for most users.

I can repro on my fully up to date Android device. Any ideas @j.jaffeux?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018年八月9日 10:23 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/13 "2018-08-09T10:23:35Z")

</div>

I pushed a fix which I think is fixing it. I tested it on an android device with chrome 68 and could reproduce before, and not after this fix. Let me know if it works for you @supermathie please.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2018年八月9日 12:12 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/15 "2018-08-09T12:12:30Z")

</div>

Looks good to me. No more keyboard pop up on topic timer modal, topic controls, or the time range selectors. Still seeing the keyboard appear on the category and tag drop downs in the composer and filters above the topic list, but I’m pretty sure that pre-dated this regression. Those drop downs/filters have an actual search field that is gaining focus, likely calls for its own topic.

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2018年八月9日 13:00 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/18 "2018-08-09T13:00:27Z")

</div>

All better for me! Thanks!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2018年八月9日 13:14 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/20 "2018-08-09T13:14:07Z")

</div>

Yep, looks great now! Thanks for your work on this @j.jaffeux 😍

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018年八月9日 13:16 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/21 "2018-08-09T13:16:15Z")

</div>

It’s kind of hard to automate testing on this sadly 😕 Thanks for looking at it. I learned a lot since I started writing select-kit and will need to dedicate some time in the future to improve all of this. There are a lot of things I could write in a better and safer ways now.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018年八月10日 16:00 UTC](https://meta.discourse.org/t/android-topic-control-dropdown-activates-keyboard/84219/22 "2018-08-10T16:00:05Z")

</div>

This topic was automatically closed after 29 hours. New replies are no longer allowed.
