---
id: fast-foundation.tooltip.horizontalviewportlock
title: Tooltip.horizontalViewportLock property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Tooltip](./fast-foundation.tooltip.md) &gt; [horizontalViewportLock](./fast-foundation.tooltip.horizontalviewportlock.md)

## Tooltip.horizontalViewportLock property

Controls if the tooltip will always remain fully in the viewport on the horizontal axis

<b>Signature:</b>

```typescript
horizontalViewportLock: boolean;
```

## Remarks

HTML Attribute: horizontal-viewport-lock
