<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>funnelbit</author_name>
  <author_url>https://blog.hatena.ne.jp/funnelbit/</author_url>
  <blog_title>┗┐＜(՞ਊ՞)＞┌┛</blog_title>
  <blog_url>https://funnelbit.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>無力というか、ぱっと見で Enter の挙動について勘違いしてしまうかな、というものです。JetpackCompose の TextField には singleLine という引数があって、１行しか表示したくない時に利用されます。 var value by remember { mutableStateOf(&quot;&quot;) } TextField( value = value, onValueChange = { value = it }, singleLine = true ) この状態で、スマートフォンやタブレットにて、ソフトウェアキーボードを使っている時は特に問題なく１行に収まると思うのですが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffunnelbit.hatenablog.com%2Fentry%2F2023%2F06%2F05%2F154548&quot; title=&quot;【JetpackCompose】 TextField の singleLine は物理キーボードの Enter には無力 - ┗┐＜(՞ਊ՞)＞┌┛&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-05 15:45:48</published>
  <title>【JetpackCompose】 TextField の singleLine は物理キーボードの Enter には無力</title>
  <type>rich</type>
  <url>https://funnelbit.hatenablog.com/entry/2023/06/05/154548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
